diff --git a/.github/workflows/build_openssl.sh b/.github/workflows/build_openssl.sh index d2358d1a7f1a..52ba300ae344 100755 --- a/.github/workflows/build_openssl.sh +++ b/.github/workflows/build_openssl.sh @@ -15,6 +15,11 @@ if [[ "${TYPE}" == "openssl" ]]; then git clone https://github.com/openssl/openssl pushd openssl git checkout "${VERSION}" + elif [[ "${VERSION}" =~ ^romen-[0-9a-f]{40}$ ]]; then + export VERSION="${VERSION#"romen-"}" + git clone https://github.com/romen/openssl + pushd openssl + git checkout "${VERSION}" else curl -O "https://www.openssl.org/source/openssl-${VERSION}.tar.gz" tar zxf "openssl-${VERSION}.tar.gz" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c51f6c7831f..70c8885b64e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,8 @@ jobs: - {VERSION: "3.11", TOXENV: "py311", OPENSSL: {TYPE: "boringssl", VERSION: "5511fa833c96c8caa9b51c13367f057c74d850eb"}} # Latest commit on the OpenSSL master branch, as of Nov 22, 2022. - {VERSION: "3.11", TOXENV: "py311", OPENSSL: {TYPE: "openssl", VERSION: "26cfa4cd85f6b26dd7a48c2ff06bfa4a2cea4764"}} + # Upcoming change in OpenSSL that triggers some errors. DO NOT MERGE + - {VERSION: "3.11", TOXENV: "py311", OPENSSL: {TYPE: "openssl", VERSION: "romen-fc0288cbe250c741deb552fa21522125990a313a"}} name: "${{ matrix.PYTHON.TOXENV }} ${{ matrix.PYTHON.OPENSSL.TYPE }} ${{ matrix.PYTHON.OPENSSL.VERSION }} ${{ matrix.PYTHON.TOXARGS }} ${{ matrix.PYTHON.OPENSSL.CONFIG_FLAGS }}" timeout-minutes: 15 steps: