aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/regress.yml
blob: 7cc35dc8dc1cf2c1b0b4964a21b296580820632e (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
name: regress testing

on:
  schedule:
  - cron: "0 0 * * *"

jobs:
  rust-openssl:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@main
    - name: Install apt dependencies
      run: |
        sudo apt-get update
        sudo apt-get install -y cargo
    - name: Build LibreSSL
      run: |
        ./autogen.sh
        ./configure
        make dist
        tar zxvf libressl-*.tar.gz
        rm libressl-*.tar.gz
        cd libressl-*
        ./configure --prefix="${HOME}/opt"
        make all install
    - name: run rust-openssl tests
      run: |
        git clone https://github.com/sfackler/rust-openssl.git
        cd rust-openssl
        export OPENSSL_DIR=${HOME}/opt
        export LD_LIBRARY_PATH=${HOME}/opt/lib
        patch -p1 < ../.github/rust-openssl.patch
        cargo test