Bump github/codeql-action in the github-actions group #1087
Workflow file for this run
This file contains hidden or 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: windows | |
| on: [push, pull_request] | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.config.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - { os: windows-2022, label: "Windows Server 2022" } # https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md | |
| - { os: windows-2025, label: "Windows Server 2025" } # https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md | |
| platform: [x64, Win32] | |
| build_type: [Release, Debug] | |
| name: "${{ matrix.config.label }} / ${{ matrix.platform }} / ${{ matrix.build_type }}" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Configure | |
| run: cmake -S . -B build -A ${{ matrix.platform }} | |
| - name: Build | |
| run: cmake --build build --parallel --config ${{ matrix.build_type }} | |
| - name: Build C++/CLI smoke test | |
| if: ${{ matrix.config.os == 'windows-2022' && matrix.platform == 'x64' && matrix.build_type == 'Release' }} | |
| run: cmake --build build --target test_clr --config ${{ matrix.build_type }} | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure --no-tests=error -C ${{ matrix.build_type }} |