Skip to content

Commit

Permalink
Fix Windows and macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
argilo committed Oct 16, 2024
1 parent 25fdbb5 commit 90b402e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
path: Gqrx-*.AppImage
macos:
name: MacOS
runs-on: macos-12
runs-on: macos-13
steps:
- name: Check for Secret availability
id: secret-check
Expand All @@ -79,6 +79,8 @@ jobs:
fi
- name: Install dependencies
run: |
# for https://github.com/actions/runner-images/issues/9272
sudo chown -R runner:admin /usr/local/
brew update
brew install --HEAD librtlsdr
brew install airspy airspyhf boost dylibbundler gnuradio hackrf libbladerf libserialport portaudio pybind11 six uhd qt@6 || true
Expand Down Expand Up @@ -111,7 +113,7 @@ jobs:
cd build
cmake ..
make -j4
make install
sudo make install
cd /tmp
cp /Library/Frameworks/iio.framework/iio /usr/local/lib/libiio.dylib
Expand All @@ -131,7 +133,7 @@ jobs:
cd build
cmake ..
make -j4
make install
sudo make install
cd /tmp
git clone https://gitea.osmocom.org/sdr/gr-osmosdr.git
Expand All @@ -140,7 +142,7 @@ jobs:
cd build
cmake -DCMAKE_CXX_FLAGS=-Wno-register ..
LIBRARY_PATH=/usr/local/opt/icu4c/lib make -j4
make install
sudo make install
- name: Install Apple certificate
if: ${{ steps.secret-check.outputs.available == 'true' }}
env:
Expand Down Expand Up @@ -237,7 +239,7 @@ jobs:
- name: Clone and build GNU Radio
working-directory: ${{ runner.temp }}
run: |
git clone --branch v3.10.9.2 --depth 1 https://github.com/gnuradio/gnuradio.git
git clone --branch v3.10.11.0 --depth 1 https://github.com/gnuradio/gnuradio.git
cd gnuradio
cmake -S . -B build \
-DCMAKE_INSTALL_PREFIX=${RUNNER_TEMP}/msys64/mingw64 \
Expand Down Expand Up @@ -337,7 +339,7 @@ jobs:
libfftw3f-3.dll \
libfftw3f_threads-3.dll \
libFLAC.dll \
libfmt.dll \
libfmt-11.dll \
libfreetype-6.dll \
libgcc_s_seh-1.dll \
libglib-2.0-0.dll \
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ jobs:
name: MacOS CI
strategy:
matrix:
os: [macos-12, macos-13]
os: [macos-13, macos-14]
backend: [Portaudio, Gr-audio]
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: |
# for https://github.com/actions/runner-images/issues/9272
sudo chown -R runner:admin /usr/local/
brew update
brew install airspy boost gnuradio hackrf libbladerf librtlsdr pybind11 six uhd qt@6 || true
Expand All @@ -84,7 +86,7 @@ jobs:
cd build
cmake -DCMAKE_CXX_FLAGS=-Wno-register ..
LIBRARY_PATH=/usr/local/opt/icu4c/lib make -j4
make install
sudo make install
- name: Checkout code
uses: actions/checkout@v4
- name: Configure
Expand Down

0 comments on commit 90b402e

Please sign in to comment.