]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
run Windows GitHub CI workflow on self-hosted runners
authorDmitry Misharov <dmitry@openssl.org>
Thu, 14 Dec 2023 12:36:04 +0000 (13:36 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 19 Dec 2023 10:11:28 +0000 (11:11 +0100)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23042)

.github/workflows/windows.yml

index 0d0f24c299b8b24edfca37f8d079b2949d549f10..792190bb083817a1cc698f5cb7bf42c647f30fe4 100644 (file)
@@ -25,7 +25,7 @@ jobs:
             config: enable-fips
           - arch: win32
             config: --strict-warnings no-fips
-    runs-on: ${{matrix.os}}
+    runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }}
     steps:
     - uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -77,7 +77,7 @@ jobs:
         os:
           - windows-2019
           - windows-2022
-    runs-on: ${{matrix.os}}
+    runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }}
     steps:
     - uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -114,7 +114,7 @@ jobs:
         os:
           - windows-2019
           - windows-2022
-    runs-on: ${{matrix.os}}
+    runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }}
     steps:
     - uses: actions/checkout@v4
     - name: checkout fuzz/corpora submodule
@@ -159,7 +159,7 @@ jobs:
 # are we really learning sth new from win32? So let's save some CO2 for now disabling this
 #          - arch: win32
 #            config: -DCMAKE_C_COMPILER=gcc --strict-warnings no-fips
-    runs-on: ${{matrix.os}}
+    runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }}
     env:
       CYGWIN_NOWINPATH: 1
       SHELLOPTS: igncr