Add workflow build-and-test #3
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: Build and test on Windows | |
on: | |
push: | |
paths-ignore: | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README.md' | |
- '.githooks/**' | |
pull_request: | |
paths-ignore: | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README.md' | |
- '.githooks/**' | |
jobs: | |
build-and-test: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
# windows-2019 has MSVC 2019 installed; | |
# windows-2022 has MSVC 2022 installed: | |
# https://github.com/actions/virtual-environments. | |
# Only x64 is supported. | |
os: [windows-2019, windows-2022] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and test | |
run: | | |
cmake --preset windows-release -DESL_ENABLE_CLANG_TIDY=OFF | |
cmake --build --preset windows-release | |
ctest --preset windows-release |