Skip to content

Commit

Permalink
Kyber Testing
Browse files Browse the repository at this point in the history
Add a workflow for a kyber test.
  • Loading branch information
ejohnstown committed May 15, 2024
1 parent 5f3a72e commit 128fefb
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/kyber.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Kyber Tests

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]

jobs:
build_liboqs:
name: Build liboqs
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- 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
sudo ldconfig
build_wolfssl:
name: Build wolfssl
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: Install wolfssl source
run: git clone --depth 1 "https://github.com/wolfssl/wolfssl"

- name: Build and install wolfssl
working-directory: wolfssl
run: |
autoreconf -ivf
./configure --enable-wolfssh --enable-cryptonly --disable-examples --disable-crypttests
make
sudo make install
sudo ldconfig
build_wolfssh:
name: Build wolfssh
runs-on: ubuntu-latest
timeout-minutes: 4
needs: [build_wolfssl, build_liboqs]
steps:
- name: Install wolfSSH
run: git clone --depth 1 "https://github.com/wolfssl/wolfssh"

- name: Build wolfSSH
working-directory: wolfssh
run: |
autoreconf -ivf
./configure --with-liboqs=/usr/local/oqs
make
- name: Run wolfssh tests
working-directory: wolfssh
run: make check

0 comments on commit 128fefb

Please sign in to comment.