Skip to content

Update actions.

Update actions. #11

Workflow file for this run

name: Build
on:
push:
jobs:
build:
runs-on: ${{matrix.os-type}}
strategy:
matrix:
os-type: [windows-2022, macos-13, ubuntu-20.04]
configuration: [Debug, Release, RelWithDebInfo]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Configure
run: cmake -B ${{github.workspace}}/Build -DCMAKE_BUILD_TYPE=${{matrix.configuration}}
- name: Build
run: cmake --build ${{github.workspace}}/Build --config ${{matrix.configuration}}
- name: Test
working-directory: ${{github.workspace}}/Build
run: ctest -C ${{matrix.configuration}}