Skip to content

Commit

Permalink
Add actions to install SDRPlay
Browse files Browse the repository at this point in the history
  • Loading branch information
BatchDrake committed Jun 7, 2024
1 parent 0978293 commit 5331f87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/linuxdeps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ runs:
shell: ${{inputs.shell}}
run: sudo apt-get install libsoapysdr-dev

- name: Install SDRPlay API
shell: ${{inputs.shell}}
run: wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.15.1.run && 7z x ./SDRplay_RSP_API-Linux-3.15.1.run && 7z x ./SDRplay_RSP_API-Linux-3.15.1 && sudo cp x86_64/libsdrplay_api.so.3.15 /usr/lib/libsdrplay_api.so && sudo cp inc/* /usr/include/

- name: Build and install SoapySDR module for SDRPlay
shell: ${{inputs.shell}}
run: git clone https://github.com/pothosware/SoapySDRPlay3 && cd SoapySDRPlay3 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../

- name: Install libxml2
shell: ${{inputs.shell}}
run: sudo apt-get install libxml2-dev
Expand Down

0 comments on commit 5331f87

Please sign in to comment.