]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Add Windows 2022 test targets.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 26 Aug 2022 23:37:40 +0000 (09:37 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 26 Aug 2022 23:37:40 +0000 (09:37 +1000)
.github/workflows/c-cpp.yml

index ec24606112ec81d7dc2db15b572aec0177435e95..3cd1188fc572e2f0c8626c6e65cf79b6c7d73e0e 100644 (file)
@@ -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