diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6316a59..c2c7e9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: matrix: configurations: [Debug, Release] architecture: [x64, ARM64] - runs-on: windows-2022 + runs-on: windows-2025-vs2026 env: # Configuration type to build. # You can convert this to a build matrix if you need coverage of multiple configuration types. @@ -47,7 +47,7 @@ jobs: - name: Generate Catch2 projects working-directory: ${{env.GITHUB_WORKSPACE}} - run: cmake -G "Visual Studio 17 2022" -S external\catch2 -B external\catch2\build -DBUILD_TESTING=OFF -A ${{env.BUILD_PLATFORM}} + run: cmake -G "Visual Studio 18 2026" -S external\catch2 -B external\catch2\build -DBUILD_TESTING=OFF -A ${{env.BUILD_PLATFORM}} - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} @@ -90,7 +90,7 @@ jobs: matrix: configurations: [Debug, Release] architecture: [x64, ARM64] - runs-on: windows-2022 + runs-on: windows-2025-vs2026 env: # Configuration type to build. # You can convert this to a build matrix if you need coverage of multiple configuration types. @@ -98,8 +98,8 @@ jobs: BUILD_CONFIGURATION: ${{matrix.configurations}} BUILD_PLATFORM: ${{matrix.architecture}} - CMAKE_GENERATOR: Visual Studio 17 2022 - PLATFORM_TOOLSET: v143 + CMAKE_GENERATOR: Visual Studio 18 2026 + PLATFORM_TOOLSET: v145 CXPLAT_MEMORY_LEAK_DETECTION: true DUMP_PATH: c:/dumps/x64/${{matrix.configurations}} TEST_TIMEOUT: 900 # 15 minute timeout for tests. @@ -116,7 +116,7 @@ jobs: working-directory: ${{env.GITHUB_WORKSPACE}} shell: cmd run: | - cmake -G "Visual Studio 17 2022" -S external\catch2 -B external\catch2\build -DBUILD_TESTING=OFF -A ${{env.BUILD_PLATFORM}} + cmake -G "Visual Studio 18 2026" -S external\catch2 -B external\catch2\build -DBUILD_TESTING=OFF -A ${{env.BUILD_PLATFORM}} cmake -S . -B build -G "${{env.CMAKE_GENERATOR}}" -A ${{env.BUILD_PLATFORM}} -T ${{env.PLATFORM_TOOLSET}} - name: Build the project