Skip to content

Commit

Permalink
add macos workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
correaa committed Apr 18, 2024
1 parent ed730fc commit ae1c57a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,23 @@ jobs:
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}

macos-cpp:
runs-on: macos-13

steps:
- uses: actions/checkout@v4

- name: Configure system
run: |
brew install boost
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=clang++

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}

0 comments on commit ae1c57a

Please sign in to comment.