[openssh-commits] [openssh] 01/01: Add Windows 2022 test targets.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Aug 27 09:40:14 AEST 2022


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 9f81736cf16dd8dda1c8942f1973a5f80b8cd78c
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sat Aug 27 09:37:40 2022 +1000

    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 ec246061..3cd1188f 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 at master
     - uses: actions/checkout at v2
     - name: setup CI system

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list