aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/rust-openssl.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/rust-openssl.yml')
-rw-r--r--.github/workflows/rust-openssl.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/rust-openssl.yml b/.github/workflows/rust-openssl.yml
new file mode 100644
index 0000000..93256ec
--- /dev/null
+++ b/.github/workflows/rust-openssl.yml
@@ -0,0 +1,40 @@
1# GitHub Actions workflow to run rust-openssl regress tests.
2name: "rust-openssl"
3
4on:
5 workflow_dispatch:
6 schedule:
7 - cron: "0 0 * * *" # At 00:00 daily.
8
9jobs:
10 test:
11 name: "Test"
12 runs-on: "ubuntu-latest"
13 permissions:
14 contents: read
15 steps:
16 - name: "Checkout repository"
17 uses: actions/checkout@v4
18
19 - name: "Build LibreSSL"
20 run: |
21 ./autogen.sh
22 ./configure
23 make dist
24 tar zxvf libressl-*.tar.gz
25 rm libressl-*.tar.gz
26 cd libressl-*
27 ./configure --prefix="${HOME}/opt"
28 make all install
29
30 - name: "Clone rust-openssl"
31 run: |
32 git clone https://github.com/sfackler/rust-openssl.git
33
34 - name: "Run rust-openssl tests"
35 run: |
36 cd rust-openssl
37 OPENSSL_DIR=${HOME}/opt
38 LD_LIBRARY_PATH=${HOME}/opt/lib
39 patch -p1 < ../.github/rust-openssl.patch
40 cargo test