Update actions/checkout action to v4 #61
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: CMake | |
on: [push] | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: windows-latest | |
- os: ubuntu-latest | |
- os: macos-11 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
- run: pip3 install wheel conan==1.61.0 | |
- name: Create Build Environment | |
run: cmake -E make_directory build | |
- name: Configure CMake | |
working-directory: build | |
run: cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Build | |
working-directory: build | |
run: cmake --build . --config ${{env.BUILD_TYPE}} | |
- name: Test | |
working-directory: build | |
run: | | |
ctest -C ${{env.BUILD_TYPE}} --output-on-failure | |
git diff --exit-code |