Skip to content

Commit

Permalink
Merge pull request #1325 from cozycactus/cozycactus
Browse files Browse the repository at this point in the history
Github Actions : Add Windows CI
  • Loading branch information
argilo authored Nov 29, 2023
2 parents 6c03a9a + fc725b8 commit b0f0ce4
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,72 @@ jobs:
- name: Compile
working-directory: build
run: make -j4
windows-build:
runs-on: windows-2019
name: Windows CI
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

0 comments on commit b0f0ce4

Please sign in to comment.