Skip to content

Kyber Testing

Kyber Testing #13

Workflow file for this run

name: Kyber Tests
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
run_test:
name: Build and run
runs-on: ubuntu-latest
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 liboqs source
run: git clone --depth 1 --branch "0.10.0" "https://github.com/open-quantum-safe/liboqs"
- name: Build and install liboqs
working-directory: liboqs
run: |
mkdir build
cd build
cmake -DOQS_MINIMAL_BUILD=KEM_kyber_512 -DOQS_USE_OPENSSL=0 ..
make
sudo make install
- name: Install wolfSSL source
run: git clone --depth 1 --branch "v5.7.0-stable" "https://github.com/wolfssl/wolfssl"
- name: Build and install wolfSSL
working-directory: wolfssl
run: |
autoreconf -ivf
./configure --enable-wolfssh --enable-kyber --enable-experimental --enable-cryptonly --disable-examples --disable-crypttests
make
sudo make install
- name: Install wolfSSH
run: git clone --depth 1 --branch "refs/pull/685/merge" "https://github.com/wolfssl/wolfssh"
- name: Build wolfSSH
working-directory: wolfssh
run: |
autoreconf -ivf
./configure --with-liboqs
make
- name: Run wolfssh tests
working-directory: wolfssh
run: make check