Skip to content

Update example workflow to also run on macos #154

Update example workflow to also run on macos

Update example workflow to also run on macos #154

name: Run tests on MacOS
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
working-directory: ${{github.workspace}}/test
run: cmake -B ${{github.workspace}}/test/build
- name: Build
working-directory: ${{github.workspace}}/test
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/test/build
- name: Run tests
working-directory: ${{github.workspace}}/test
run: ./dsm_tests.out