]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix CI failures with ubuntu-22.04
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 5 Dec 2022 05:50:02 +0000 (06:50 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 19 Jan 2023 17:16:33 +0000 (17:16 +0000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19930)

.github/workflows/cross-compiles.yml
test/recipes/95-test_external_pyca_data/cryptography.sh

index e5294c8ed162ed989e1d0e9c98bf29d0208f2a58..1bd62da1b1f42e6121d8688bff28d64faebe42ed 100644 (file)
@@ -117,7 +117,7 @@ jobs:
             tests: none
           }
         ]
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
     - name: install packages
       run: |
index 0af3e56c980633b89bc78e908069414d10e02414..99720de4baed519a59b24caea712d4555b86317f 100755 (executable)
@@ -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