From c830e31c325a7f1374be4b84d5cf3f4483a45c1c Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Wed, 20 Mar 2024 18:03:00 -0400 Subject: [PATCH] Add Airspy drivers to Windows release --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ resources/news.txt | 1 + 2 files changed, 27 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d8b3a657..4830c524b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -267,6 +267,28 @@ jobs: -DINSTALL_UDEV_RULES=OFF cmake --build build cmake --install build + - name: Clone and build airspyone_host + working-directory: ${{ runner.temp }} + run: | + git clone https://github.com/airspy/airspyone_host.git + cd airspyone_host + cmake -S . -B build \ + -G "MinGW Makefiles" \ + -DCMAKE_INSTALL_PREFIX=${RUNNER_TEMP}/msys64/mingw64 + cmake --build build + cmake --install build + - name: Clone and build airspyhf + working-directory: ${{ runner.temp }} + run: | + git clone https://github.com/airspy/airspyhf.git + cd airspyhf + cmake -S . -B build \ + -G "MSYS Makefiles" \ + -DCMAKE_INSTALL_PREFIX=${RUNNER_TEMP}/msys64/mingw64 \ + -DTHREADS_PTHREADS_INCLUDE_DIR=${RUNNER_TEMP}/msys64/mingw64/include \ + -DTHREADS_PTHREADS_WIN32_LIBRARY=${RUNNER_TEMP}/msys64/mingw64/lib/libpthread.a + cmake --build build + cmake --install build - name: Clone and build gr-osmosdr working-directory: ${{ runner.temp }} run: | @@ -276,6 +298,8 @@ jobs: -DCMAKE_INSTALL_PREFIX=${RUNNER_TEMP}/msys64/mingw64 \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_DEFAULT=OFF \ + -DENABLE_AIRSPY=ON \ + -DENABLE_AIRSPYHF=ON \ -DENABLE_FILE=ON \ -DENABLE_REDPITAYA=ON \ -DENABLE_RTL=ON \ @@ -301,6 +325,8 @@ jobs: run: | windeployqt6 C:/gqrx/bin/gqrx.exe cp \ + libairspy.dll \ + libairspyhf.dll \ libb2-1.dll \ libboost_program_options-mt.dll \ libboost_thread-mt.dll \ diff --git a/resources/news.txt b/resources/news.txt index cf680c2a8..21ae4d548 100644 --- a/resources/news.txt +++ b/resources/news.txt @@ -2,6 +2,7 @@ 2.17.5: In progress... NEW: PlutoSDR and LimeSDR support in AppImage release, via SoapySDR. + NEW: Airspy support in Windows binary release. IMPROVED: Updated GNU Radio, SDR driver, and Qt versions in AppImage release. FIXED: Respond correctly to pipelined remote control commands. REMOVED: FreeSRP support in AppImage release.