Kyber Testing #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Kyber tests | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
run_test: | |
name: Build and run | |
runs-on: ubuntu-latest | |
# This should be a safe limit for the tests to run. | |
timeout-minutes: 15 | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential autoconf automake libtool \ | |
git cmake make | |
- name: Install and build liboqs | |
run: | | |
git clone --depth 1 --branch 0.10.0 https://github.com/open-quantum-safe/liboqs | |
mkdir -p liboqs/build | |
cd liboqs/build | |
cmake -DOQS_MINIMAL_BUILD=KEM_kyber_512 -DOQS_USE_OPENSSL=0 .. | |
make | |
sudo make install | |
- name: Install and build wolfSSL | |
run: | | |
git clone --depth 1 https://github.com/wolfssl/wolfssl | |
cd wolfssl | |
autoreconf -ivf | |
./configure --enable-wolfssl --enable-kyber | |
make | |
sudo make install | |
- name: Install and build wolfSSH | |
run: | | |
git clone --depth 1 https://github.com/wolfssl/wolfssh | |
cd wolfssh | |
autoreconf -ivf | |
./configure --with-liboqs | |
make | |
- name: Run wolfssh tests | |
working-directory: wolfssh | |
run: make check |