diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rust-openssl.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/rust-openssl.yml b/.github/workflows/rust-openssl.yml index cec2de0..ef5a7b1 100644 --- a/.github/workflows/rust-openssl.yml +++ b/.github/workflows/rust-openssl.yml | |||
| @@ -29,6 +29,14 @@ jobs: | |||
| 29 | - name: "Run rust-openssl tests" | 29 | - name: "Run rust-openssl tests" |
| 30 | run: | | 30 | run: | |
| 31 | cd rust-openssl | 31 | cd rust-openssl |
| 32 | patch -p1 < ../.github/rust-openssl.patch | 32 | # instead of erroring use the last supported version |
| 33 | ed -s openssl-sys/build/main.rs <<-EOF | ||
| 34 | /_ => version_error/-1 | ||
| 35 | .t. | ||
| 36 | s/(.*=/_ = | ||
| 37 | +1d | ||
| 38 | w | ||
| 39 | q | ||
| 40 | EOF | ||
| 33 | export OPENSSL_DIR=${HOME}/opt LD_LIBRARY_PATH=${HOME}/opt/lib | 41 | export OPENSSL_DIR=${HOME}/opt LD_LIBRARY_PATH=${HOME}/opt/lib |
| 34 | cargo test --verbose | 42 | cargo test --verbose |
