Weekly tests #125
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weekly constant time tests | |
on: | |
schedule: | |
- cron: "5 0 * * 0" | |
workflow_dispatch: | |
jobs: | |
constant-time-x64: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: generic | |
container: praveksharma/ci-ubuntu-focal-x86_64:latest | |
CMAKE_ARGS: -DOQS_OPT_TARGET=generic -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON -DOQS_LIBJADE_BUILD=ON | |
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time' | |
SKIP_ALGS: 'SPHINCS\+-SHA*, Classic-McEliece-(.)*' | |
- name: extensions | |
container: praveksharma/ci-ubuntu-focal-x86_64:latest | |
CMAKE_ARGS: -DOQS_OPT_TARGET=haswell -DCMAKE_BUILD_TYPE=Debug -DOQS_ENABLE_TEST_CONSTANT_TIME=ON -DOQS_LIBJADE_BUILD=ON | |
PYTEST_ARGS: --numprocesses=auto -k 'test_constant_time' | |
SKIP_ALGS: 'SPHINCS\+-SHA*,Classic-McEliece-6(.)*' | |
container: | |
image: ${{ matrix.container }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# Use github actions to install nix | |
- name: Setup nix | |
uses: cachix/install-nix-action@v26 | |
- name: Setup jasmin-compiler | |
run: nix-env -iA nixpkgs.jasmin-compiler | |
- name: Configure | |
run: mkdir build && cd build && cmake -GNinja ${{ matrix.CMAKE_ARGS }} .. && cmake -LA .. | |
- name: Build | |
run: ninja | |
working-directory: build | |
- name: Run tests | |
timeout-minutes: 360 | |
run: mkdir -p tmp && SKIP_ALGS='${{ matrix.SKIP_ALGS }}' python3 -m pytest --verbose ${{ matrix.PYTEST_ARGS }} | |