mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 10:47:10 +00:00
Github Actions : Add Windows CI
This commit is contained in:
parent
6c03a9a391
commit
cedf507541
65
.github/workflows/ci.yml
vendored
65
.github/workflows/ci.yml
vendored
@ -93,3 +93,68 @@ jobs:
|
||||
- name: Compile
|
||||
working-directory: build
|
||||
run: make -j4
|
||||
windows-build:
|
||||
runs-on: windows-2019
|
||||
name: Windows CI
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- 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}
|
||||
run: |
|
||||
git clone https://github.com/gnuradio/gnuradio.git
|
||||
cd gnuradio
|
||||
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=C:/gqrx \
|
||||
-DENABLE_DEFAULT=OFF -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}
|
||||
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: Clone and Build gqrx
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
git clone https://github.com/gqrx-sdr/gqrx.git
|
||||
cd gqrx
|
||||
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=C:/gqrx \
|
||||
-DCMAKE_PREFIX_PATH=C:/gqrx
|
||||
cmake --build build
|
||||
cmake --install build
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user