Branch
Hash :
6c33fe50
Author :
Date :
2025-10-14T09:24:01
Revert "CI: Apply EVP const_ptr patch for LibreSSL < 4.2.0" This reverts commit 5bcf54058d62ca1f197616ee344d05fbb3e34e21.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
# GitHub Actions workflow to run rust-openssl regress tests.
name: "rust-openssl"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # At 00:00 daily.
concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true
jobs:
test:
name: "Test"
runs-on: "ubuntu-24.04"
if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }}
permissions:
contents: read
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Build LibreSSL"
run: |
./autogen.sh
./configure --prefix="${HOME}/opt"
make all install
- name: "Clone rust-openssl"
run: |
git clone https://github.com/sfackler/rust-openssl.git
- name: "Run rust-openssl tests"
run: |
cd rust-openssl
# instead of erroring use the last supported version
ed -s openssl-sys/build/main.rs <<-EOF
/_ => version_error/-1
.t.
s/(.*=/_ =
+1d
w
q
EOF
export OPENSSL_DIR=${HOME}/opt LD_LIBRARY_PATH=${HOME}/opt/lib
cargo test --verbose