]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Windows Github CI: test in Windows 2016 as well
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Jun 2021 01:58:49 +0000 (03:58 +0200)
committerPauli <pauli@openssl.org>
Sat, 12 Jun 2021 04:41:51 +0000 (14:41 +1000)
This brings an older version of MSVC, which may bring some "interesting"
failures.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15709)

.github/workflows/windows.yml

index 5c98695a70a3a594b33a41747d07271437e226cc..ed82b398b6c235e32bd7e7e5d7a80fa426839bea 100644 (file)
@@ -4,13 +4,16 @@ on: [pull_request, push]
 
 jobs:
   shared:
-    runs-on: windows-latest
     # Run a job for each of the specified target architectures:
     strategy:
       matrix:
+        os:
+          - windows-latest
+          - windows-2016
         arch:
           - win64
           - win32
+    runs-on: ${{matrix.os}}
     steps:
     - uses: actions/checkout@v2
     - uses: ilammy/msvc-dev-cmd@v1
@@ -41,7 +44,12 @@ jobs:
         nmake install DESTDIR=_dest
       working-directory: _build
   plain:
-    runs-on: windows-latest
+    strategy:
+      matrix:
+        os:
+          - windows-latest
+          - windows-2016
+    runs-on: ${{matrix.os}}
     steps:
     - uses: actions/checkout@v2
     - uses: ilammy/msvc-dev-cmd@v1
@@ -59,7 +67,12 @@ jobs:
       working-directory: _build
       run: nmake test VERBOSE_FAILURE=yes HARNESS_JOBS=4
   minimal:
-    runs-on: windows-latest
+    strategy:
+      matrix:
+        os:
+          - windows-latest
+          - windows-2016
+    runs-on: ${{matrix.os}}
     steps:
     - uses: actions/checkout@v2
     - uses: ilammy/msvc-dev-cmd@v1