Debug #115
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: test-windows | |
on: | |
push: | |
branches: [ dev, main ] | |
# Run tests once a week on Sunday. | |
schedule: | |
- cron: "0 6 * * 0" | |
permissions: | |
contents: read | |
env: | |
CMAKE_BUILD_TYPE: Release | |
CMAKE_GENERATOR: Visual Studio 17 2022 | |
CMAKE_GENERATOR_PLATFORM: x64 | |
CTEST_OUTPUT_ON_FAILURE: True | |
VERBOSE: 1 | |
jobs: | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Install Building Dependencies | |
uses: ./.github/actions/building-deps | |
with: | |
boost: 1.85.0 | |
oneTBB: 2021.12.0 | |
python: 3.12 | |
path: C:/Program Files | |
- name: Configure | |
working-directory: ${{github.workspace}}/build | |
run: cmake -D "ENABLE_PRECOMPILED_HEADERS=ON" .. | |
- name: Build | |
working-directory: ${{github.workspace}}/build | |
run: cmake --build . --config Release | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest -VV -C Release |