Skip to content

CTest

CTest #33

Workflow file for this run

name: CTest
on:
push:
paths-ignore:
- 'README.md'
- 'LICENSE.md'
- 'Examples/**'
pull_request:
branches: ['main']
workflow_dispatch:
env:
BUILD_TYPE: Release
jobs:
CTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: |
cmake --version
cmake -B ${{github.workspace}}/Build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/Build
- name: Test
working-directory: ${{github.workspace}}/Build
run: ctest --output-on-failure