-
Notifications
You must be signed in to change notification settings - Fork 548
79 lines (77 loc) · 2.07 KB
/
win.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Test
on: [push, pull_request]
jobs:
windows-build:
runs-on: windows-2019
name: Windows
steps:
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: >-
git
make
pacboy: >-
toolchain:p
cmake:p
ninja:p
libusb:p
boost:p
qt5:p
spdlog:p
volk:p
libsndfile:p
soapysdr:p
fftw:p
rtl-sdr:p
- name: Clone and build GNU Radio
shell: msys2 {0}
working-directory: ${{ runner.temp }}
run: |
git clone --depth 1 https://github.com/gnuradio/gnuradio.git
cd gnuradio
cmake -S . -B build \
-DCMAKE_INSTALL_PREFIX=C:/gqrx \
-DENABLE_DEFAULT=OFF \
-DENABLE_COMMON_PCH=ON \
-DENABLE_GNURADIO_RUNTIME=ON \
-DENABLE_GR_ANALOG=ON \
-DENABLE_GR_AUDIO=ON \
-DENABLE_GR_BLOCKS=ON \
-DENABLE_GR_DIGITAL=ON \
-DENABLE_GR_FFT=ON \
-DENABLE_GR_FILTER=ON \
-DENABLE_GR_NETWORK=ON
cmake --build build
cmake --install build
- name: Clone and build gr-osmosdr
shell: msys2 {0}
working-directory: ${{ runner.temp }}
run: |
git clone https://gitea.osmocom.org/sdr/gr-osmosdr.git
cd gr-osmosdr
cmake -S . -B build \
-DCMAKE_INSTALL_PREFIX=C:/gqrx \
-DCMAKE_PREFIX_PATH=C:/gqrx \
-DENABLE_DEFAULT=OFF \
-DENABLE_RTL=ON \
-DENABLE_SOAPY=ON
cmake --build build
cmake --install build
- name: Checkout code
uses: actions/checkout@v3
- name: Configure, compile & install
shell: msys2 {0}
run: |
cmake -S . -B build \
-DCMAKE_INSTALL_PREFIX=C:/gqrx \
-DCMAKE_PREFIX_PATH=C:/gqrx
cmake --build build
cmake --install build
- name: Save artifact
uses: actions/upload-artifact@v3
with:
name: gqrx-macos-${{ github.run_id }}
path: C:/gqrx