Darren Tucker 03fe6d2904 Update checkout action to current version.
checkout v2 uses node.js v12 which is has been recently deprecated by
github so switch to using the one on the main branch.
2022-11-08 12:54:43 +01:00

34 lines
815 B
YAML

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