Skip to content

Commit 48c10b4

Browse files
authored
Update Windows SDR drivers (#958)
1 parent e235627 commit 48c10b4

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/ci.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,13 @@ jobs:
4646
- name: Setup SDR Drivers (Windows)
4747
if: startsWith(matrix.os, 'windows')
4848
run: |
49-
git clone --depth 1 https://gitlab.com/jopohl/sdr_drivers
50-
if ("$env:PYARCH" -eq "x86") {
51-
echo "Using 32-bit SDR libraries..."
52-
7z x "sdr_drivers\win-32.zip" -osrc\urh\dev\native\lib\shared
53-
}
54-
else {
55-
echo "Using 64-bit SDR libraries..."
56-
7z x "sdr_drivers\win-64.zip" -osrc\urh\dev\native\lib\shared
57-
}
58-
shell: powershell
49+
choco install wget --no-progress
50+
wget -nv -O windrivers.zip https://github.com/jopohl/sdrbuild/releases/download/v1.1/win-$ARCH.zip
51+
7z x windrivers.zip -osrc/urh/dev/native/lib/shared
52+
ls src/urh/dev/native/lib/shared
53+
shell: bash
5954
env:
60-
PYARCH: ${{ matrix.architecture }}
55+
ARCH: ${{ matrix.architecture }}
6156

6257

6358
- name: Setup SDR Drivers (macOS)
@@ -76,6 +71,7 @@ jobs:
7671
pip install -r data/requirements.txt
7772
if [[ $OS == ubuntu* ]]
7873
then
74+
sudo apt-get update
7975
sudo apt-get install libhackrf-dev librtlsdr-dev xvfb libxkbcommon-x11-0 x11-utils libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0
8076
pip install PyVirtualDisplay==0.2.5
8177
elif [[ $OS == windows* ]]

0 commit comments

Comments
 (0)