From: Dmitry Misharov Date: Wed, 13 Nov 2024 14:35:43 +0000 (+0100) Subject: remove ternary from runs-on, security repo is hosted on github.com X-Git-Tag: openssl-3.3.3~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b3d0b9168cb2b1b6969e886174d9c962869f1b8;p=thirdparty%2Fopenssl.git remove ternary from runs-on, security repo is hosted on github.com Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25939) (cherry picked from commit 5c5b8d2d7c59fc48981861629bb0b75a03497440) (cherry picked from commit eac57efed2e32179a04d9d56cf2b1033be66c6d5) --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27a652a223b..ed217f04ac2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ env: jobs: check_update: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - name: install unifdef run: | @@ -45,7 +45,7 @@ jobs: run: git diff --exit-code check_docs: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: config @@ -65,7 +65,7 @@ jobs: # We are not as strict with libraries, but rather adapt to what's # expected to be available in a certain version of each platform. check-ansi: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: config @@ -74,7 +74,7 @@ jobs: run: make -s -j4 basic_gcc: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -99,7 +99,7 @@ jobs: path: artifacts.tar.gz basic_clang: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -146,7 +146,7 @@ jobs: path: artifacts.tar.gz minimal: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -168,7 +168,7 @@ jobs: path: artifacts.tar.gz no-deprecated: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -190,7 +190,7 @@ jobs: path: artifacts.tar.gz no-shared-ubuntu: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -216,7 +216,6 @@ jobs: fail-fast: false matrix: os: [macos-13, macos-14] - if: github.server_url == 'https://github.com' runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -239,7 +238,7 @@ jobs: path: artifacts.tar.gz non-caching: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -265,7 +264,7 @@ jobs: path: artifacts.tar.gz address_ub_sanitizer: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -291,7 +290,7 @@ jobs: path: artifacts.tar.gz fuzz_tests: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -318,7 +317,7 @@ jobs: if-no-files-found: ignore memory_sanitizer: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -345,7 +344,7 @@ jobs: path: artifacts.tar.gz threads_sanitizer: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -371,7 +370,7 @@ jobs: path: artifacts.tar.gz enable_non-default_options: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -395,7 +394,7 @@ jobs: path: artifacts.tar.gz full_featured: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -425,7 +424,7 @@ jobs: path: artifacts.tar.gz no-legacy: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -447,7 +446,7 @@ jobs: path: artifacts.tar.gz legacy: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -474,7 +473,7 @@ jobs: # - That building, testing and installing works with a read-only source # tree out-of-readonly-source-and-install-ubuntu: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: @@ -519,7 +518,6 @@ jobs: matrix: os: [macos-13, macos-14] runs-on: ${{ matrix.os }} - if: github.server_url == 'https://github.com' steps: - uses: actions/checkout@v4 with: @@ -559,7 +557,7 @@ jobs: working-directory: ./build external-tests: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: @@ -592,7 +590,7 @@ jobs: run: make test TESTS="test_external_oqsprovider" external-test-pyca: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest strategy: matrix: RUST: @@ -622,7 +620,7 @@ jobs: run: make test TESTS="test_external_pyca" VERBOSE=1 external-test-cf-quiche: - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml index 5dc1b83f4ef..da13a02a799 100644 --- a/.github/workflows/cross-compiles.yml +++ b/.github/workflows/cross-compiles.yml @@ -148,7 +148,7 @@ jobs: tests: none } ] - runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }} + runs-on: ubuntu-latest steps: - name: install package repository if: matrix.platform.ppa != '' diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0c6dbf8ead0..c4879e22f42 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -27,7 +27,7 @@ jobs: - arch: win32 os: windows-2022 config: --strict-warnings no-fips - runs-on: ${{ github.server_url == 'https://github.com' && matrix.platform.os || format('{0}-self-hosted', matrix.platform.os) }} + runs-on: ${{ matrix.platform.os }} steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -79,7 +79,7 @@ jobs: os: # Reducing CI footprint - windows-2019 - windows-2022 - runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }} + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -116,7 +116,7 @@ jobs: os: - windows-2019 # Reducing CI footprint - windows-2022 - runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }} + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: checkout fuzz/corpora submodule @@ -161,7 +161,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: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }} + runs-on: ${{ matrix.os }} env: CYGWIN_NOWINPATH: 1 SHELLOPTS: igncr