From 0b5a2ff786c3542cc91b390974cc8baae754ca9b Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 26 Jun 2024 17:11:23 +0200 Subject: [PATCH] Update librtlsdr for windows CI --- .github/workflows/build_all.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index faaca935..d6a5b2b5 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -36,6 +36,13 @@ jobs: working-directory: ${{runner.workspace}} run: 7z x libusb.7z -olibusb_old ; rm "C:/Program Files/PothosSDR/bin/libusb-1.0.dll" ; cp "libusb_old/MS64/dll/libusb-1.0.dll" "C:/Program Files/PothosSDR/bin/" ; rm "C:/Program Files/PothosSDR/lib/libusb-1.0.lib" ; cp "libusb_old/MS64/dll/libusb-1.0.lib" "C:/Program Files/PothosSDR/lib/" + - name: Download librtlsdr + run: Invoke-WebRequest -Uri "https://ftp.osmocom.org/binaries/windows/rtl-sdr/rtl-sdr-64bit-20240623.zip" -OutFile ${{runner.workspace}}/rtl-sdr.zip + + - name: Patch Pothos with newer librtlsdr version + working-directory: ${{runner.workspace}} + run: 7z x rtl-sdr.zip ; rm "C:/Program Files/PothosSDR/bin/librtlsdr.dll" ; cp "rtl-sdr-64bit-20240623/librtlsdr.dll" "C:/Program Files/PothosSDR/bin/" + - name: Download SDRPlay API run: Invoke-WebRequest -Uri "https://www.sdrpp.org/SDRplay.zip" -OutFile ${{runner.workspace}}/SDRplay.zip