Skip to content

Bump github/codeql-action in the github-actions group #1087

Bump github/codeql-action in the github-actions group

Bump github/codeql-action in the github-actions group #1087

Workflow file for this run

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 }}