Skip to content

Commit

Permalink
Update build check Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckschwerdt committed Apr 17, 2024
1 parent 821e5c3 commit a6f6d83
Showing 1 changed file with 25 additions and 8 deletions.
33 changes: 25 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,38 @@ on:
workflow_dispatch:

jobs:
macos_build_job:
macos_macports_build_job:
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-14]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }}
name: Build on ${{ matrix.os }} (macports)
steps:
- uses: actions/checkout@v4
- uses: melusina-org/setup-macports@v1
- name: Install ports
run: port install SoapySDR airspy
- name: Configure
run: cmake -B build
- name: Build
run: cmake --build build

macos_homebrew_build_job:
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-14]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }} (homebrew)
steps:
- uses: actions/checkout@v4
- name: Setup tools
run: brew install soapysdr airspy
- name: Configure
run: cmake -B build
- name: Build
run: |
cmake -B build
cmake --build build
run: cmake --build build

linux_build_job:
strategy:
Expand All @@ -35,7 +52,7 @@ jobs:
sudo apt-get update -q -y
sudo apt-get install -y --no-install-recommends cmake ninja-build
sudo apt-get install -q -y libsoapysdr-dev libairspy-dev
- name: Configure
run: cmake -GNinja -B build
- name: Build
run: |
cmake -GNinja -B build
cmake --build build
run: cmake --build build

0 comments on commit a6f6d83

Please sign in to comment.