From df7c3aecb411e4e04e07e7d9d6e8c3f089aa7727 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Tue, 20 Aug 2024 13:48:24 -0400 Subject: [PATCH] Low-hanging fruit Signed-off-by: Spencer Wilson --- .github/workflows/unix.yml | 43 ++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unix.yml b/.github/workflows/unix.yml index fbaa3f20c..abd3086ac 100644 --- a/.github/workflows/unix.yml +++ b/.github/workflows/unix.yml @@ -15,7 +15,7 @@ jobs: stylecheck: name: Check code formatting - container: openquantumsafe/ci-ubuntu-focal-x86_64:latest + container: openquantumsafe/ci-ubuntu-latest:latest runs-on: ubuntu-latest steps: - name: Checkout code @@ -35,7 +35,7 @@ jobs: copy-mode: - copy - libjade - container: openquantumsafe/ci-ubuntu-focal-x86_64:latest + container: openquantumsafe/ci-ubuntu-latest:latest runs-on: ubuntu-latest steps: - name: Setup nix @@ -172,6 +172,41 @@ jobs: container: openquantumsafe/ci-ubuntu-focal-x86_64:latest CMAKE_ARGS: -DCMAKE_C_COMPILER=clang-9 -DCMAKE_BUILD_TYPE=Debug -DUSE_SANITIZER=Address -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_SIG_STFL_KEY_SIG_GEN=OFF -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_ENABLE_SIG_STFL_LMS=ON PYTEST_ARGS: --ignore=tests/test_distbuild.py --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py --maxprocesses=10 + - name: noble-nistr4-openssl + runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest + CMAKE_ARGS: -DOQS_STRICT_WARNINGS=ON -DOQS_ALGS_ENABLED=NIST_R4 + PYTEST_ARGS: --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py + - name: noble-nistonramp-openssl + runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest + CMAKE_ARGS: -DOQS_STRICT_WARNINGS=ON -DOQS_ALGS_ENABLED=NIST_SIG_ONRAMP + PYTEST_ARGS: --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py + - name: noble-noopenssl + runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest + CMAKE_ARGS: -DCMAKE_C_COMPILER=gcc-8 -DOQS_USE_OPENSSL=OFF + PYTEST_ARGS: --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py + - name: noble-shared-noopenssl + runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest + CMAKE_ARGS: -DCMAKE_C_COMPILER=gcc-7 -DOQS_DIST_BUILD=OFF -DOQS_USE_OPENSSL=OFF -DBUILD_SHARED_LIBS=ON + PYTEST_ARGS: --ignore=tests/test_namespace.py --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py + - name: noble-clang15 + runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest + CMAKE_ARGS: -DOQS_STRICT_WARNINGS=ON -DCMAKE_C_COMPILER=clang-15 + PYTEST_ARGS: --ignore=tests/test_kat_all.py + - name: noble-address-sanitizer + runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest + CMAKE_ARGS: -DCMAKE_C_COMPILER=clang-9 -DCMAKE_BUILD_TYPE=Debug -DUSE_SANITIZER=Address -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_SIG_STFL_KEY_SIG_GEN=ON -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_ENABLE_SIG_STFL_LMS=ON + PYTEST_ARGS: --ignore=tests/test_distbuild.py --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py --maxprocesses=10 + - name: address-sanitizer-no-stfl-key-sig-gen + runner: ubuntu-latest + container: openquantumsafe/ci-ubuntu-latest:latest + CMAKE_ARGS: -DCMAKE_C_COMPILER=clang-9 -DCMAKE_BUILD_TYPE=Debug -DUSE_SANITIZER=Address -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_SIG_STFL_KEY_SIG_GEN=OFF -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_ENABLE_SIG_STFL_LMS=ON + PYTEST_ARGS: --ignore=tests/test_distbuild.py --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py --maxprocesses=10 runs-on: ${{ matrix.runner }} libjade-build: - -DOQS_LIBJADE_BUILD=OFF @@ -257,7 +292,7 @@ jobs: linux_cross_compile: needs: buildcheck runs-on: ubuntu-latest - container: openquantumsafe/ci-ubuntu-focal-x86_64:latest + container: openquantumsafe/ci-ubuntu-latest:latest strategy: fail-fast: false matrix: @@ -373,7 +408,7 @@ jobs: scan_build: needs: buildcheck runs-on: ubuntu-latest - container: openquantumsafe/ci-ubuntu-focal-x86_64:latest + container: openquantumsafe/ci-ubuntu-latest:latest steps: - name: Checkout code uses: actions/checkout@v4