Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
geedo0 committed Aug 20, 2024
1 parent 8167f61 commit 77cc16f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI Checks
on: [ push, pull_request ]
on: [ push, pull_request, workflow_dispatch ]
jobs:
ubuntu_build:
runs-on: ubuntu-latest
Expand All @@ -12,13 +12,18 @@ jobs:
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
- name: log stuff
run: |
whoami
echo ${HOME}
cat /etc/passwd
# - 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
6 changes: 4 additions & 2 deletions oqs-test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ INVESTIGATE_FURTHER="integrity \
authinfo \
principals-command \
knownhosts-command \
percent \
hostkey-rotate"
SKIPPED_DUE_TO_CERTIFIED_KEYS="agent \
cert-hostkey \
cert-userkey \
cert-file \
sshsig"
make tests -e SKIP_LTESTS="${INVESTIGATE_FURTHER} ${SKIPPED_DUE_TO_CERTIFIED_KEYS}"
# make tests -e SKIP_LTESTS="${INVESTIGATE_FURTHER} ${SKIPPED_DUE_TO_CERTIFIED_KEYS} ${HACK}"
echo $HOME
whoami
make tests -e LTESTS="percent" SKIP_UNIT=1

0 comments on commit 77cc16f

Please sign in to comment.