From 9f81736cf16dd8dda1c8942f1973a5f80b8cd78c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 27 Aug 2022 09:37:40 +1000 Subject: [PATCH] Add Windows 2022 test targets. --- .github/workflows/c-cpp.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index ec2460611..3cd1188fc 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -15,12 +15,13 @@ jobs: fail-fast: false matrix: # First we test all OSes in the default configuration. - os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019] + os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019, windows-2022] configs: [default] # Then we include any extra configs we want to test for specific VMs. # Valgrind slows things down quite a bit, so start them first. include: - { os: windows-2019, configs: cygwin-release } + - { os: windows-2022, configs: cygwin-release } - { os: ubuntu-20.04, configs: valgrind-1 } - { os: ubuntu-20.04, configs: valgrind-2 } - { os: ubuntu-20.04, configs: valgrind-3 } @@ -81,10 +82,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: set cygwin git params - if: ${{ matrix.os == 'windows-2019' }} + if: ${{ startsWith(matrix.os, 'windows') }} run: git config --global core.autocrlf input - name: install cygwin - if: ${{ matrix.os == 'windows-2019' }} + if: ${{ startsWith(matrix.os, 'windows') }} uses: cygwin/cygwin-install-action@master - uses: actions/checkout@v2 - name: setup CI system -- 2.47.3