From: Bernd Edlinger Date: Mon, 5 Dec 2022 05:50:02 +0000 (+0100) Subject: Fix CI failures with ubuntu-22.04 X-Git-Tag: OpenSSL_1_1_1t~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d90907dfed17f7075ca48ab1e9a730eab6476e3b;p=thirdparty%2Fopenssl.git Fix CI failures with ubuntu-22.04 Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/19930) --- diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml index e5294c8ed16..1bd62da1b1f 100644 --- a/.github/workflows/cross-compiles.yml +++ b/.github/workflows/cross-compiles.yml @@ -117,7 +117,7 @@ jobs: tests: none } ] - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: install packages run: | diff --git a/test/recipes/95-test_external_pyca_data/cryptography.sh b/test/recipes/95-test_external_pyca_data/cryptography.sh index 0af3e56c980..99720de4bae 100755 --- a/test/recipes/95-test_external_pyca_data/cryptography.sh +++ b/test/recipes/95-test_external_pyca_data/cryptography.sh @@ -42,19 +42,17 @@ python -m venv venv-cryptography cd pyca-cryptography -pip install .[test] -pip install -e vectors - echo "------------------------------------------------------------------" echo "Building cryptography" echo "------------------------------------------------------------------" -CFLAGS="-I$O_BINC -I$O_SINC -L$O_LIB" pip install . +LDFLAGS="-L$O_LIB" CFLAGS="-I$O_BINC -I$O_SINC" pip install .[test] +pip install -e vectors echo "------------------------------------------------------------------" echo "Running tests" echo "------------------------------------------------------------------" -CFLAGS="-I$O_BINC -I$O_SINC -L$O_LIB" pytest -n auto tests --wycheproof-root=../wycheproof +pytest -n auto tests --wycheproof-root=../wycheproof cd ../ deactivate