forked from open-quantum-safe/openssh
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (24 loc) · 887 Bytes
/
ubuntu.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: CI Checks
on: [ push, pull_request, workflow_dispatch ]
jobs:
ubuntu_build:
runs-on: ubuntu-latest
container:
image: openquantumsafe/ci-ubuntu-focal-x86_64:latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- name: Set up SSH environment
run: |
mkdir -p -m 0755 /var/empty
groupadd sshd
useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd
- name: Clone liboqs
run: ./oqs-scripts/clone_liboqs.sh
- name: Build liboqs
run: ./oqs-scripts/build_liboqs.sh
- name: Build OpenSSH
run: env WITH_OPENSSL=true ./oqs-scripts/build_openssh.sh
- name: Run tests documented to pass
run: ./oqs-test/run_tests.sh
- name: Ensure we have the ssh and sshd syntax right once for each algorithm
run: python3 oqs-test/try_connection.py doone