[WIP] Add simple CMake presets #139
Workflow file for this run
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: CI-MacOS | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: macos-latest | |
steps: | |
- name: Install prerequisites | |
run: >- | |
brew install | |
libgcrypt | |
ninja | |
doxygen | |
graphviz | |
- uses: actions/checkout@v3 | |
- name: Configure | |
run: cmake --preset default --fresh | |
- name: Build | |
working-directory: build | |
run: cmake --build --preset srecord-executables | |
- name: Smoke test | |
working-directory: build | |
run: cmake --build --preset srecord-executables-version | |
- name: Build test prerequisites | |
working-directory: build | |
run: cmake --build --preset prepare-test | |
- name: Test | |
working-directory: build | |
run: ctest --preset test |