Update StandardProjectSettings.cmake #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS unit | |
# adapted from: https://github.com/trase-cpp/trase/tree/master/.github/workflows | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
name: macOS unit | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: make build directory | |
run: mkdir build_dir | |
- name: cmake configure | |
run: cmake .. -DCMAKE_BUILD_TYPE=Debug | |
working-directory: build_dir | |
- name: cmake build | |
run: cmake --build . --parallel 2 | |
working-directory: build_dir | |
- name: cmake test | |
run: ctest -j2 -C Debug --output-on-failure | |
working-directory: build_dir |