Skip to content

[WIP] Add simple CMake presets #139

[WIP] Add simple CMake presets

[WIP] Add simple CMake presets #139

Workflow file for this run

---
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