mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-12-09 00:02:54 -05:00
skip sphincs,rainbow in shortened weekly testing (#1176)
This commit is contained in:
parent
b632938f5b
commit
d5f28d02dd
@ -368,39 +368,3 @@ workflows:
|
|||||||
jobs:
|
jobs:
|
||||||
- trigger-downstream-ci:
|
- trigger-downstream-ci:
|
||||||
context: openquantumsafe
|
context: openquantumsafe
|
||||||
|
|
||||||
weekly:
|
|
||||||
jobs:
|
|
||||||
- linux_oqs:
|
|
||||||
name: constant-time-x64
|
|
||||||
context: openquantumsafe
|
|
||||||
CONTAINER: openquantumsafe/ci-ubuntu-bionic-x86_64:latest
|
|
||||||
CMAKE_ARGS: -DOQS_OPT_TARGET=generic -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
|
|
||||||
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time'
|
|
||||||
SKIP_ALGS: 'SPHINCS\+-SHA*,Rainbow-V-Compressed,Classic-McEliece-6(.)*'
|
|
||||||
- linux_oqs:
|
|
||||||
name: constant-time-x64-extensions
|
|
||||||
context: openquantumsafe
|
|
||||||
CONTAINER: openquantumsafe/ci-ubuntu-bionic-x86_64:latest
|
|
||||||
# building for haswell to avoid generating instructions that valgrind cannot currently handle
|
|
||||||
# TODO: Re-enable target=auto if/when valgrind supports beyond AVX2:
|
|
||||||
# check: https://valgrind.org/info/platforms.html
|
|
||||||
CMAKE_ARGS: -DOQS_OPT_TARGET=haswell -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
|
|
||||||
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time'
|
|
||||||
SKIP_ALGS: 'SPHINCS\+-SHA*,Rainbow-V-Compressed,Classic-McEliece-6(.)*'
|
|
||||||
- linux_oqs:
|
|
||||||
name: undefined-sanitizer
|
|
||||||
context: openquantumsafe
|
|
||||||
CONTAINER: openquantumsafe/ci-ubuntu-focal-x86_64:latest
|
|
||||||
CMAKE_ARGS: -DCMAKE_C_COMPILER=clang-9 -DCMAKE_BUILD_TYPE=Debug -DUSE_SANITIZER=Undefined
|
|
||||||
# Normally the linux tests are run with 35 processes, but that
|
|
||||||
# exhausts memory for this test
|
|
||||||
PYTEST_ARGS: --numprocesses=1
|
|
||||||
# run these jobs unconditionally every Sunday at midnight
|
|
||||||
triggers:
|
|
||||||
- schedule:
|
|
||||||
cron: "10 0 * * 0"
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- main
|
|
||||||
|
|||||||
13
.dsci.yml
13
.dsci.yml
@ -1,16 +1,7 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- name: Check environment
|
- name: Building and minimal testing on M1
|
||||||
cmds:
|
|
||||||
- whoami
|
|
||||||
- pwd
|
|
||||||
- cmake --version
|
|
||||||
- uname -a
|
|
||||||
- name: Building on M1
|
|
||||||
cmds:
|
|
||||||
- mkdir build && cd build && cmake -GNinja .. && ninja
|
|
||||||
- name: Minimal testing on M1
|
|
||||||
env:
|
env:
|
||||||
PYTEST_ARGS: tests/test_code_conventions.py tests/test_kat.py
|
PYTEST_ARGS: tests/test_code_conventions.py tests/test_kat.py
|
||||||
cmds:
|
cmds:
|
||||||
- python3 -m pytest --verbose $PYTEST_ARGS
|
- uname -a && mkdir build && cd build && cmake -GNinja .. && ninja && cd .. && python3 -m pytest --verbose $PYTEST_ARGS
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/weekly.yml
vendored
6
.github/workflows/weekly.yml
vendored
@ -16,10 +16,12 @@ jobs:
|
|||||||
container: openquantumsafe/ci-ubuntu-bionic-x86_64:latest
|
container: openquantumsafe/ci-ubuntu-bionic-x86_64:latest
|
||||||
CMAKE_ARGS: -DOQS_OPT_TARGET=generic -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
|
CMAKE_ARGS: -DOQS_OPT_TARGET=generic -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
|
||||||
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time'
|
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time'
|
||||||
|
SKIP_ALGS: 'SPHINCS\+-SHA*,Rainbow-V-Compressed,Classic-McEliece-6(.)*'
|
||||||
- name: extensions
|
- name: extensions
|
||||||
container: openquantumsafe/ci-ubuntu-bionic-x86_64:latest
|
container: openquantumsafe/ci-ubuntu-bionic-x86_64:latest
|
||||||
CMAKE_ARGS: -DOQS_OPT_TARGET=haswell -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
|
CMAKE_ARGS: -DOQS_OPT_TARGET=haswell -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON
|
||||||
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time'
|
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time'
|
||||||
|
SKIP_ALGS: 'SPHINCS\+-SHA*,Rainbow-V-Compressed,Classic-McEliece-6(.)*'
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.container }}
|
image: ${{ matrix.container }}
|
||||||
steps:
|
steps:
|
||||||
@ -31,6 +33,6 @@ jobs:
|
|||||||
run: ninja
|
run: ninja
|
||||||
working-directory: build
|
working-directory: build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
timeout-minutes: 600
|
timeout-minutes: 360
|
||||||
run: mkdir -p tmp && python3 -m pytest --verbose ${{ matrix.PYTEST_ARGS }}
|
run: mkdir -p tmp && SKIP_ALGS=${{ matrix.SKIP_ALGS }} python3 -m pytest --verbose ${{ matrix.PYTEST_ARGS }}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user