Skip to content

Commit

Permalink
WIP: Add CI job to build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
igorauad committed Jul 11, 2023
1 parent 13faa94 commit c2d1378
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
BUILD_TYPE: Release

jobs:
build:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -26,3 +26,17 @@ jobs:
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
run: cd ${{github.workspace}}/build && ctest -C ${{env.BUILD_TYPE}} -VV
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Install dependencies
run: brew install gnuradio
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
run: cd ${{github.workspace}}/build && ctest -C ${{env.BUILD_TYPE}} -VV

0 comments on commit c2d1378

Please sign in to comment.