From c2d1378a44bbeb0784ddd20d9fc7afdbd648c227 Mon Sep 17 00:00:00 2001 From: Igor Freire Date: Tue, 11 Jul 2023 13:04:12 +0000 Subject: [PATCH] WIP: Add CI job to build on macOS --- .github/workflows/test.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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