Update README #5
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 | |
# Define the rules when this workflow should be applied | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
# Specify the type of the machine | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# Configure the CMake project using CMake Presets | |
- name: Configure CMake | |
run: cmake --preset unix_makefiles_clang_debug | |
# Build the project | |
- name: Build | |
run: cmake --build --preset unix_makefiles_clang_debug -j10 | |
# Run tests | |
- name: Tests | |
working-directory: build/unix_makefiles/clang/debug | |
run: ctest --rerun-failed --output-on-failure | |
# EOF |