blob: 149d2b7d18f17f1ad7b416bfe3f0214f80897f2b (
plain)
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
|
# GitHub Actions workflow to run rust-openssl regress tests.
name: "rust-openssl"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # At 00:00 daily.
jobs:
test:
name: "Test"
runs-on: "ubuntu-latest"
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
OPENSSL_DIR=${HOME}/opt
LD_LIBRARY_PATH=${HOME}/opt/lib
patch -p1 < ../.github/rust-openssl.patch
cargo test --verbose
|