]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Reduce footprint of Windows CI
authorTomas Mraz <tomas@openssl.org>
Wed, 4 Sep 2024 09:34:12 +0000 (11:34 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 10 Sep 2024 14:36:39 +0000 (16:36 +0200)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Hugo Landau <hlandau@devever.net>
(Merged from https://github.com/openssl/openssl/pull/25378)

.github/workflows/windows.yml

index 25296287752a016aefe10e11498b95d25963b884..ee42fc13a2379e0d298efcf7d1327bc7b802035c 100644 (file)
@@ -17,17 +17,17 @@ jobs:
     # Run a job for each of the specified target architectures:
     strategy:
       matrix:
-        os:
-          - windows-2019
-          - windows-2022
         platform:
           - arch: win64
+            os: windows-2019
             config: enable-fips
           - arch: win64
+            os: windows-2022
             config: enable-fips no-thread-pool no-quic
           - arch: win32
+            os: windows-2022
             config: --strict-warnings no-fips
-    runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }}
+    runs-on: ${{ github.server_url == 'https://github.com' && matrix.platform.os || format('{0}-self-hosted', matrix.platform.os) }}
     steps:
     - uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -92,7 +92,7 @@ jobs:
     strategy:
       matrix:
         os:
-          - windows-2019
+# Reducing CI footprint  - windows-2019
           - windows-2022
     runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }}
     steps:
@@ -130,7 +130,7 @@ jobs:
       matrix:
         os:
           - windows-2019
-          - windows-2022
+# Reducing CI footprint  - windows-2022
     runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }}
     steps:
     - uses: actions/checkout@v4