From bcee5f5b102f8be319662432c23fed1528e2bcc8 Mon Sep 17 00:00:00 2001 From: Joergen Ibsen Date: Sun, 29 Oct 2023 23:02:47 +0100 Subject: [PATCH] Set CI Windows image and generator to 2022 As windows-latest was updated, it required using a new CMake generator. Choose the windows-2022 image for now. --- .github/workflows/parg-ci-workflow.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/parg-ci-workflow.yaml b/.github/workflows/parg-ci-workflow.yaml index e5cc4df..34ca5fd 100644 --- a/.github/workflows/parg-ci-workflow.yaml +++ b/.github/workflows/parg-ci-workflow.yaml @@ -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: @@ -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 @@ -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