diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53edeb8..6c8409a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ env: BUILD_TYPE: Release jobs: - build: + build-linux: runs-on: ubuntu-latest strategy: matrix: @@ -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