-
Notifications
You must be signed in to change notification settings - Fork 5
51 lines (39 loc) · 1.24 KB
/
ci.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
51
name: CI
on:
pull_request:
branches:
- OQS-master
schedule:
- cron: '0 2 * * 0'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install cmake gcc g++ ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz libcmocka-dev libcmocka0 libsocket-wrapper libnss-wrapper libuid-wrapper libpam-wrapper libpam0g-dev
- name: Clone liboqs
uses: actions/checkout@v2
with:
path: oqs-scripts/tmp/liboqs
repository: open-quantum-safe/liboqs
ref: main
- name: Clone OQS-OpenSSH
uses: actions/checkout@v2
with:
path: oqs-scripts/tmp/openssh
repository: open-quantum-safe/openssh
ref: OQS-v8
- name: Build liboqs
run: ./oqs-scripts/build_liboqs.sh
- name: Create sshd privilege separation directory
run: sudo mkdir -p -m 0755 /var/empty
- name: Build OQS-OpenSSH
run: ./oqs-scripts/build_openssh.sh
- name: Build libssh
run: ./oqs-scripts/build_libssh.sh
- name: Run pkd_hello test suite
run: ./oqs-test/run_pkd_hello.sh