diff options
Diffstat (limited to '.github/workflows/regress.yml')
-rw-r--r-- | .github/workflows/regress.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/regress.yml b/.github/workflows/regress.yml new file mode 100644 index 0000000..88ce310 --- /dev/null +++ b/.github/workflows/regress.yml | |||
@@ -0,0 +1,33 @@ | |||
1 | name: regress testing | ||
2 | |||
3 | on: | ||
4 | schedule: | ||
5 | - cron: "0 0 * * *" | ||
6 | |||
7 | jobs: | ||
8 | rust-openssl: | ||
9 | runs-on: ubuntu-latest | ||
10 | steps: | ||
11 | - uses: actions/checkout@v3 | ||
12 | - name: Install apt dependencies | ||
13 | run: | | ||
14 | sudo apt-get update | ||
15 | sudo apt-get install -y cargo | ||
16 | - name: Build LibreSSL | ||
17 | run: | | ||
18 | ./autogen.sh | ||
19 | ./configure | ||
20 | make dist | ||
21 | tar zxvf libressl-*.tar.gz | ||
22 | rm libressl-*.tar.gz | ||
23 | cd libressl-* | ||
24 | ./configure --prefix="${HOME}/opt" | ||
25 | make all install | ||
26 | - name: run rust-openssl tests | ||
27 | run: | | ||
28 | git clone https://github.com/sfackler/rust-openssl.git | ||
29 | cd rust-openssl | ||
30 | export OPENSSL_DIR=${HOME}/opt | ||
31 | export LD_LIBRARY_PATH=${HOME}/opt/lib | ||
32 | patch -p1 < ../.github/rust-openssl.patch | ||
33 | cargo test | ||