Skip to content

Commit

Permalink
Set CI Windows image and generator to 2022
Browse files Browse the repository at this point in the history
As windows-latest was updated, it required using a new CMake
generator. Choose the windows-2022 image for now.
  • Loading branch information
jibsen committed Oct 29, 2023
1 parent 95e6a3e commit bcee5f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/parg-ci-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on: [push, pull_request]
jobs:
windows:
name: Windows ${{ matrix.config.name }}
runs-on: windows-latest
runs-on: windows-2022

strategy:
matrix:
config:
- name: MSVC x64
generator: Visual Studio 16 2019
generator: Visual Studio 17 2022
cmake-flags: -A x64

steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
run: cmake ${{ matrix.config.cmake-flags }} -DCMAKE_BUILD_TYPE=Debug -B build

- name: Build
run: cd build && make VERBOSE=1
run: cd build && cmake --build . --verbose

- name: Test
run: cd build && ctest -V --output-on-failure --interactive-debug-mode 0
Expand All @@ -66,7 +66,7 @@ jobs:
run: cmake -DCMAKE_C_FLAGS_DEBUG='-g -O0 --coverage' -DCMAKE_BUILD_TYPE=Debug -B build

- name: Build
run: cd build && make VERBOSE=1
run: cd build && cmake --build . --verbose

- name: Test
run: cd build && ctest -V --output-on-failure --interactive-debug-mode 0
Expand Down

0 comments on commit bcee5f5

Please sign in to comment.