diff options
| author | Ilya Shipitsin <chipitsine@gmail.com> | 2022-10-22 13:11:48 +0500 |
|---|---|---|
| committer | Ilya Shipitsin <chipitsine@gmail.com> | 2022-10-22 13:11:48 +0500 |
| commit | 5f3868d96ef074dbe5bd19ad822a9209735cb742 (patch) | |
| tree | 785781f3653ddf3b8819492d980eedc56321337f /.github/workflows | |
| parent | bf23b6b37255b232f7768555f4b6dd7153de2dce (diff) | |
| download | portable-5f3868d96ef074dbe5bd19ad822a9209735cb742.tar.gz portable-5f3868d96ef074dbe5bd19ad822a9209735cb742.tar.bz2 portable-5f3868d96ef074dbe5bd19ad822a9209735cb742.zip | |
CI: enable rust-openssl daily testing
Diffstat (limited to '.github/workflows')
| -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 | ||
