forked from wolfSSL/wolfssh
-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (44 loc) · 1.3 KB
/
kyber.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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