diff --git a/.github/workflows/BADGES.md b/.github/workflows/BADGES.md new file mode 100644 index 00000000..ae598f59 --- /dev/null +++ b/.github/workflows/BADGES.md @@ -0,0 +1,91 @@ +![Test firesaber](https://github.com/PQClean/PQClean/workflows/Test%20firesaber/badge.svg?branch=master) +![Test frodokem1344aes](https://github.com/PQClean/PQClean/workflows/Test%20frodokem1344aes/badge.svg?branch=master) +![Test frodokem1344shake](https://github.com/PQClean/PQClean/workflows/Test%20frodokem1344shake/badge.svg?branch=master) +![Test frodokem640aes](https://github.com/PQClean/PQClean/workflows/Test%20frodokem640aes/badge.svg?branch=master) +![Test frodokem640shake](https://github.com/PQClean/PQClean/workflows/Test%20frodokem640shake/badge.svg?branch=master) +![Test frodokem976aes](https://github.com/PQClean/PQClean/workflows/Test%20frodokem976aes/badge.svg?branch=master) +![Test frodokem976shake](https://github.com/PQClean/PQClean/workflows/Test%20frodokem976shake/badge.svg?branch=master) +![Test kyber1024-90s](https://github.com/PQClean/PQClean/workflows/Test%20kyber1024-90s/badge.svg?branch=master) +![Test kyber1024](https://github.com/PQClean/PQClean/workflows/Test%20kyber1024/badge.svg?branch=master) +![Test kyber512-90s](https://github.com/PQClean/PQClean/workflows/Test%20kyber512-90s/badge.svg?branch=master) +![Test kyber512](https://github.com/PQClean/PQClean/workflows/Test%20kyber512/badge.svg?branch=master) +![Test kyber768-90s](https://github.com/PQClean/PQClean/workflows/Test%20kyber768-90s/badge.svg?branch=master) +![Test kyber768](https://github.com/PQClean/PQClean/workflows/Test%20kyber768/badge.svg?branch=master) +![Test lightsaber](https://github.com/PQClean/PQClean/workflows/Test%20lightsaber/badge.svg?branch=master) +![Test mceliece348864](https://github.com/PQClean/PQClean/workflows/Test%20mceliece348864/badge.svg?branch=master) +![Test mceliece348864f](https://github.com/PQClean/PQClean/workflows/Test%20mceliece348864f/badge.svg?branch=master) +![Test mceliece460896](https://github.com/PQClean/PQClean/workflows/Test%20mceliece460896/badge.svg?branch=master) +![Test mceliece460896f](https://github.com/PQClean/PQClean/workflows/Test%20mceliece460896f/badge.svg?branch=master) +![Test mceliece6688128](https://github.com/PQClean/PQClean/workflows/Test%20mceliece6688128/badge.svg?branch=master) +![Test mceliece6688128f](https://github.com/PQClean/PQClean/workflows/Test%20mceliece6688128f/badge.svg?branch=master) +![Test mceliece6960119](https://github.com/PQClean/PQClean/workflows/Test%20mceliece6960119/badge.svg?branch=master) +![Test mceliece6960119f](https://github.com/PQClean/PQClean/workflows/Test%20mceliece6960119f/badge.svg?branch=master) +![Test mceliece8192128](https://github.com/PQClean/PQClean/workflows/Test%20mceliece8192128/badge.svg?branch=master) +![Test mceliece8192128f](https://github.com/PQClean/PQClean/workflows/Test%20mceliece8192128f/badge.svg?branch=master) +![Test ntruhps2048509](https://github.com/PQClean/PQClean/workflows/Test%20ntruhps2048509/badge.svg?branch=master) +![Test ntruhps2048677](https://github.com/PQClean/PQClean/workflows/Test%20ntruhps2048677/badge.svg?branch=master) +![Test ntruhps4096821](https://github.com/PQClean/PQClean/workflows/Test%20ntruhps4096821/badge.svg?branch=master) +![Test ntruhrss701](https://github.com/PQClean/PQClean/workflows/Test%20ntruhrss701/badge.svg?branch=master) +![Test saber](https://github.com/PQClean/PQClean/workflows/Test%20saber/badge.svg?branch=master) +![Test hqc-128](https://github.com/PQClean/PQClean/workflows/Test%20hqc-128/badge.svg?branch=master) +![Test hqc-192](https://github.com/PQClean/PQClean/workflows/Test%20hqc-192/badge.svg?branch=master) +![Test hqc-256](https://github.com/PQClean/PQClean/workflows/Test%20hqc-256/badge.svg?branch=master) +![Test hqc-rmrs-128](https://github.com/PQClean/PQClean/workflows/Test%20hqc-rmrs-128/badge.svg?branch=master) +![Test hqc-rmrs-192](https://github.com/PQClean/PQClean/workflows/Test%20hqc-rmrs-192/badge.svg?branch=master) +![Test hqc-rmrs-256](https://github.com/PQClean/PQClean/workflows/Test%20hqc-rmrs-256/badge.svg?branch=master) +![Test ntrulpr653](https://github.com/PQClean/PQClean/workflows/Test%20ntrulpr653/badge.svg?branch=master) +![Test ntrulpr761](https://github.com/PQClean/PQClean/workflows/Test%20ntrulpr761/badge.svg?branch=master) +![Test ntrulpr857](https://github.com/PQClean/PQClean/workflows/Test%20ntrulpr857/badge.svg?branch=master) +![Test sntrup653](https://github.com/PQClean/PQClean/workflows/Test%20sntrup653/badge.svg?branch=master) +![Test sntrup761](https://github.com/PQClean/PQClean/workflows/Test%20sntrup761/badge.svg?branch=master) +![Test sntrup857](https://github.com/PQClean/PQClean/workflows/Test%20sntrup857/badge.svg?branch=master) +![Test dilithium2](https://github.com/PQClean/PQClean/workflows/Test%20dilithium2/badge.svg?branch=master) +![Test dilithium3](https://github.com/PQClean/PQClean/workflows/Test%20dilithium3/badge.svg?branch=master) +![Test dilithium4](https://github.com/PQClean/PQClean/workflows/Test%20dilithium4/badge.svg?branch=master) +![Test falcon-1024](https://github.com/PQClean/PQClean/workflows/Test%20falcon-1024/badge.svg?branch=master) +![Test falcon-512](https://github.com/PQClean/PQClean/workflows/Test%20falcon-512/badge.svg?branch=master) +![Test rainbowIIIc-classic](https://github.com/PQClean/PQClean/workflows/Test%20rainbowIIIc-classic/badge.svg?branch=master) +![Test rainbowIIIc-cyclic-compressed](https://github.com/PQClean/PQClean/workflows/Test%20rainbowIIIc-cyclic-compressed/badge.svg?branch=master) +![Test rainbowIIIc-cyclic](https://github.com/PQClean/PQClean/workflows/Test%20rainbowIIIc-cyclic/badge.svg?branch=master) +![Test rainbowIa-classic](https://github.com/PQClean/PQClean/workflows/Test%20rainbowIa-classic/badge.svg?branch=master) +![Test rainbowIa-cyclic-compressed](https://github.com/PQClean/PQClean/workflows/Test%20rainbowIa-cyclic-compressed/badge.svg?branch=master) +![Test rainbowIa-cyclic](https://github.com/PQClean/PQClean/workflows/Test%20rainbowIa-cyclic/badge.svg?branch=master) +![Test rainbowVc-classic](https://github.com/PQClean/PQClean/workflows/Test%20rainbowVc-classic/badge.svg?branch=master) +![Test rainbowVc-cyclic-compressed](https://github.com/PQClean/PQClean/workflows/Test%20rainbowVc-cyclic-compressed/badge.svg?branch=master) +![Test rainbowVc-cyclic](https://github.com/PQClean/PQClean/workflows/Test%20rainbowVc-cyclic/badge.svg?branch=master) +![Test sphincs-haraka-128f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-128f-robust/badge.svg?branch=master) +![Test sphincs-haraka-128f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-128f-simple/badge.svg?branch=master) +![Test sphincs-haraka-128s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-128s-robust/badge.svg?branch=master) +![Test sphincs-haraka-128s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-128s-simple/badge.svg?branch=master) +![Test sphincs-haraka-192f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-192f-robust/badge.svg?branch=master) +![Test sphincs-haraka-192f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-192f-simple/badge.svg?branch=master) +![Test sphincs-haraka-192s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-192s-robust/badge.svg?branch=master) +![Test sphincs-haraka-192s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-192s-simple/badge.svg?branch=master) +![Test sphincs-haraka-256f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-256f-robust/badge.svg?branch=master) +![Test sphincs-haraka-256f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-256f-simple/badge.svg?branch=master) +![Test sphincs-haraka-256s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-256s-robust/badge.svg?branch=master) +![Test sphincs-haraka-256s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-haraka-256s-simple/badge.svg?branch=master) +![Test sphincs-sha256-128f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-128f-robust/badge.svg?branch=master) +![Test sphincs-sha256-128f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-128f-simple/badge.svg?branch=master) +![Test sphincs-sha256-128s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-128s-robust/badge.svg?branch=master) +![Test sphincs-sha256-128s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-128s-simple/badge.svg?branch=master) +![Test sphincs-sha256-192f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-192f-robust/badge.svg?branch=master) +![Test sphincs-sha256-192f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-192f-simple/badge.svg?branch=master) +![Test sphincs-sha256-192s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-192s-robust/badge.svg?branch=master) +![Test sphincs-sha256-192s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-192s-simple/badge.svg?branch=master) +![Test sphincs-sha256-256f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-256f-robust/badge.svg?branch=master) +![Test sphincs-sha256-256f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-256f-simple/badge.svg?branch=master) +![Test sphincs-sha256-256s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-256s-robust/badge.svg?branch=master) +![Test sphincs-sha256-256s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-sha256-256s-simple/badge.svg?branch=master) +![Test sphincs-shake256-128f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-128f-robust/badge.svg?branch=master) +![Test sphincs-shake256-128f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-128f-simple/badge.svg?branch=master) +![Test sphincs-shake256-128s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-128s-robust/badge.svg?branch=master) +![Test sphincs-shake256-128s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-128s-simple/badge.svg?branch=master) +![Test sphincs-shake256-192f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-192f-robust/badge.svg?branch=master) +![Test sphincs-shake256-192f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-192f-simple/badge.svg?branch=master) +![Test sphincs-shake256-192s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-192s-robust/badge.svg?branch=master) +![Test sphincs-shake256-192s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-192s-simple/badge.svg?branch=master) +![Test sphincs-shake256-256f-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-256f-robust/badge.svg?branch=master) +![Test sphincs-shake256-256f-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-256f-simple/badge.svg?branch=master) +![Test sphincs-shake256-256s-robust](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-256s-robust/badge.svg?branch=master) +![Test sphincs-shake256-256s-simple](https://github.com/PQClean/PQClean/workflows/Test%20sphincs-shake256-256s-simple/badge.svg?branch=master) diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index 55497800..ac1eb284 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -1,4 +1,4 @@ -on: ['push', 'pull-request'] +on: ['push', 'pull_request'] name: Test common files and sanity checks @@ -44,7 +44,7 @@ jobs: - name: Run tests run: | cd test - python3 test_common.py + python3 test_common.py --numprocesses=auto python3 test_workflows.py test-emulated: runs-on: ubuntu-latest @@ -79,24 +79,22 @@ jobs: with: path: ~/.cache/pip key: v1-python-pip - - name: Run tests in container run: | - docker run --rm -e CI -e CC -e -v $PWD:$PWD -w $PWD -v ~/ccache:/ccache pqclean/ci-container:${{ matrix.arch }} /bin/bash -c "\ + docker run --rm -e CI -e CC -v $PWD:$PWD -w $PWD -v ~/ccache:/ccache pqclean/ci-container:${{ matrix.arch }} /bin/bash -c "\ export CCACHE_NOSTATS=1 && \ export CCACHE_DIR=/ccache && \ export CCACHE_SLOPPINESS=include_file_mtime && \ export CC=\"ccache $CC\" && \ - pip3 install -r requirements.txt && \ + pip3 install -U -r requirements.txt && \ cd test && \ - python3 test_common.py" + python3 test_common.py --numprocesses=auto" test-windows: strategy: matrix: bits: - 64 - 32 - env: runs-on: windows-latest steps: - uses: actions/checkout@v2 @@ -109,6 +107,10 @@ jobs: Set-ItemProperty -Path "HKLM:\\SOFTWARE\\Microsoft\\.NetFramework\\v4.0.30319" -Name "SchUseStrongCrypto" -Value '1' -Type DWord Invoke-WebRequest -OutFile "test\\astyle.exe" "https://rded.nl/pqclean/AStyle.exe" shell: powershell + - name: Setup Python + uses: actions/setup-python@main + with: + python-version: "3.x" - name: Install python requirements run: python -m pip install -r requirements.txt - name: Run tests @@ -116,7 +118,7 @@ jobs: call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvars${{ matrix.bits }}.bat" cd test python -m pytest --verbose --numprocesses=auto - python3 test_common.py + python test_common.py --numprocesses=auto shell: cmd test-macos: env: @@ -137,10 +139,14 @@ jobs: - name: Set up GCC9 compiler run: 'export PATH="/usr/local/bin:$PATH" && export CC=gcc-9' if: ${{ matrix.compiler == 'gcc9' }} + - name: Setup Python + uses: actions/setup-python@main + with: + python-version: "3.x" - name: Install Python dependencies - run: python3 -m pip install -r requirements.txt + run: python -m pip install -r requirements.txt - name: Run tests run: | cd test - python3 test_common.py + python test_common.py --numprocesses=auto diff --git a/.github/workflows/generate_workflows.py b/.github/workflows/generate_workflows.py index 18906c16..68762774 100644 --- a/.github/workflows/generate_workflows.py +++ b/.github/workflows/generate_workflows.py @@ -18,6 +18,10 @@ def render_workflow(scheme_path): if not TEST_MODE: with open(target_name, "w") as f: f.write(new_contents) + with open("BADGES.md", "a") as f: + f.write( + f"![Test {scheme_name}]" + f"(https://github.com/PQClean/PQClean/workflows/Test%20{scheme_name}/badge.svg?branch=master)\n") else: if (Path(".") / target_name).exists(): with open(target_name, "r") as f: @@ -42,6 +46,11 @@ if __name__ == "__main__": TPL_ENV = jinja2.Environment( loader=loader, variable_start_string="{-", variable_end_string="-}" ) + + if not TEST_MODE: + with open("BADGES.md", "w") as f: + f.truncate() + with open("template.yml.j2") as f: TEMPLATE = f.read() root = Path("../..") diff --git a/.github/workflows/kem_firesaber.yml b/.github/workflows/kem_firesaber.yml index 8ce608c2..99a10786 100644 --- a/.github/workflows/kem_firesaber.yml +++ b/.github/workflows/kem_firesaber.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/firesaber*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/firesaber/**' + # build if workflow file changed - '.github/workflows/kem_firesaber.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/firesaber*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/firesaber/**' + # build if workflow file changed - '.github/workflows/kem_firesaber.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test firesaber diff --git a/.github/workflows/kem_frodokem1344aes.yml b/.github/workflows/kem_frodokem1344aes.yml index d4dbb7a7..50291c2d 100644 --- a/.github/workflows/kem_frodokem1344aes.yml +++ b/.github/workflows/kem_frodokem1344aes.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem1344aes*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem1344aes/**' + # build if workflow file changed - '.github/workflows/kem_frodokem1344aes.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem1344aes*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem1344aes/**' + # build if workflow file changed - '.github/workflows/kem_frodokem1344aes.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test frodokem1344aes diff --git a/.github/workflows/kem_frodokem1344shake.yml b/.github/workflows/kem_frodokem1344shake.yml index 657d5ebf..1ab756ca 100644 --- a/.github/workflows/kem_frodokem1344shake.yml +++ b/.github/workflows/kem_frodokem1344shake.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem1344shake*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem1344shake/**' + # build if workflow file changed - '.github/workflows/kem_frodokem1344shake.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem1344shake*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem1344shake/**' + # build if workflow file changed - '.github/workflows/kem_frodokem1344shake.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test frodokem1344shake diff --git a/.github/workflows/kem_frodokem640aes.yml b/.github/workflows/kem_frodokem640aes.yml index 0cae9b32..bafea94d 100644 --- a/.github/workflows/kem_frodokem640aes.yml +++ b/.github/workflows/kem_frodokem640aes.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem640aes*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem640aes/**' + # build if workflow file changed - '.github/workflows/kem_frodokem640aes.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem640aes*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem640aes/**' + # build if workflow file changed - '.github/workflows/kem_frodokem640aes.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test frodokem640aes diff --git a/.github/workflows/kem_frodokem640shake.yml b/.github/workflows/kem_frodokem640shake.yml index 5b73e7dc..020328cf 100644 --- a/.github/workflows/kem_frodokem640shake.yml +++ b/.github/workflows/kem_frodokem640shake.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem640shake*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem640shake/**' + # build if workflow file changed - '.github/workflows/kem_frodokem640shake.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem640shake*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem640shake/**' + # build if workflow file changed - '.github/workflows/kem_frodokem640shake.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test frodokem640shake diff --git a/.github/workflows/kem_frodokem976aes.yml b/.github/workflows/kem_frodokem976aes.yml index 35f29b81..8abdcda5 100644 --- a/.github/workflows/kem_frodokem976aes.yml +++ b/.github/workflows/kem_frodokem976aes.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem976aes*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem976aes/**' + # build if workflow file changed - '.github/workflows/kem_frodokem976aes.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem976aes*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem976aes/**' + # build if workflow file changed - '.github/workflows/kem_frodokem976aes.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test frodokem976aes diff --git a/.github/workflows/kem_frodokem976shake.yml b/.github/workflows/kem_frodokem976shake.yml index e0623c00..d4032f9e 100644 --- a/.github/workflows/kem_frodokem976shake.yml +++ b/.github/workflows/kem_frodokem976shake.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem976shake*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem976shake/**' + # build if workflow file changed - '.github/workflows/kem_frodokem976shake.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/frodokem976shake*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/frodokem976shake/**' + # build if workflow file changed - '.github/workflows/kem_frodokem976shake.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test frodokem976shake diff --git a/.github/workflows/kem_hqc-128.yml b/.github/workflows/kem_hqc-128.yml index 182c94fd..671aa00e 100644 --- a/.github/workflows/kem_hqc-128.yml +++ b/.github/workflows/kem_hqc-128.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-128/**' + # build if workflow file changed - '.github/workflows/kem_hqc-128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-128/**' + # build if workflow file changed - '.github/workflows/kem_hqc-128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test hqc-128 diff --git a/.github/workflows/kem_hqc-192.yml b/.github/workflows/kem_hqc-192.yml index a3a98336..38b4a61a 100644 --- a/.github/workflows/kem_hqc-192.yml +++ b/.github/workflows/kem_hqc-192.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-192*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-192/**' + # build if workflow file changed - '.github/workflows/kem_hqc-192.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-192*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-192/**' + # build if workflow file changed - '.github/workflows/kem_hqc-192.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test hqc-192 diff --git a/.github/workflows/kem_hqc-256.yml b/.github/workflows/kem_hqc-256.yml index 588a5aa0..cf123516 100644 --- a/.github/workflows/kem_hqc-256.yml +++ b/.github/workflows/kem_hqc-256.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-256*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-256/**' + # build if workflow file changed - '.github/workflows/kem_hqc-256.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-256*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-256/**' + # build if workflow file changed - '.github/workflows/kem_hqc-256.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test hqc-256 diff --git a/.github/workflows/kem_hqc-rmrs-128.yml b/.github/workflows/kem_hqc-rmrs-128.yml index e21cbda2..22f65323 100644 --- a/.github/workflows/kem_hqc-rmrs-128.yml +++ b/.github/workflows/kem_hqc-rmrs-128.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-rmrs-128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-rmrs-128/**' + # build if workflow file changed - '.github/workflows/kem_hqc-rmrs-128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-rmrs-128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-rmrs-128/**' + # build if workflow file changed - '.github/workflows/kem_hqc-rmrs-128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test hqc-rmrs-128 diff --git a/.github/workflows/kem_hqc-rmrs-192.yml b/.github/workflows/kem_hqc-rmrs-192.yml index 2f616e0c..da68ddea 100644 --- a/.github/workflows/kem_hqc-rmrs-192.yml +++ b/.github/workflows/kem_hqc-rmrs-192.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-rmrs-192*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-rmrs-192/**' + # build if workflow file changed - '.github/workflows/kem_hqc-rmrs-192.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-rmrs-192*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-rmrs-192/**' + # build if workflow file changed - '.github/workflows/kem_hqc-rmrs-192.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test hqc-rmrs-192 diff --git a/.github/workflows/kem_hqc-rmrs-256.yml b/.github/workflows/kem_hqc-rmrs-256.yml index 6b82bebc..04adfdb5 100644 --- a/.github/workflows/kem_hqc-rmrs-256.yml +++ b/.github/workflows/kem_hqc-rmrs-256.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-rmrs-256*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-rmrs-256/**' + # build if workflow file changed - '.github/workflows/kem_hqc-rmrs-256.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/hqc-rmrs-256*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/hqc-rmrs-256/**' + # build if workflow file changed - '.github/workflows/kem_hqc-rmrs-256.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test hqc-rmrs-256 diff --git a/.github/workflows/kem_kyber1024-90s.yml b/.github/workflows/kem_kyber1024-90s.yml index 294ce6a0..ecd207cb 100644 --- a/.github/workflows/kem_kyber1024-90s.yml +++ b/.github/workflows/kem_kyber1024-90s.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber1024-90s*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber1024-90s/**' + # build if workflow file changed - '.github/workflows/kem_kyber1024-90s.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber1024-90s*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber1024-90s/**' + # build if workflow file changed - '.github/workflows/kem_kyber1024-90s.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test kyber1024-90s diff --git a/.github/workflows/kem_kyber1024.yml b/.github/workflows/kem_kyber1024.yml index 93ae2d4f..8e563d2c 100644 --- a/.github/workflows/kem_kyber1024.yml +++ b/.github/workflows/kem_kyber1024.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber1024*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber1024/**' + # build if workflow file changed - '.github/workflows/kem_kyber1024.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber1024*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber1024/**' + # build if workflow file changed - '.github/workflows/kem_kyber1024.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test kyber1024 diff --git a/.github/workflows/kem_kyber512-90s.yml b/.github/workflows/kem_kyber512-90s.yml index fa343207..8c0771d2 100644 --- a/.github/workflows/kem_kyber512-90s.yml +++ b/.github/workflows/kem_kyber512-90s.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber512-90s*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber512-90s/**' + # build if workflow file changed - '.github/workflows/kem_kyber512-90s.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber512-90s*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber512-90s/**' + # build if workflow file changed - '.github/workflows/kem_kyber512-90s.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test kyber512-90s diff --git a/.github/workflows/kem_kyber512.yml b/.github/workflows/kem_kyber512.yml index 6fc33a27..8917c722 100644 --- a/.github/workflows/kem_kyber512.yml +++ b/.github/workflows/kem_kyber512.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber512*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber512/**' + # build if workflow file changed - '.github/workflows/kem_kyber512.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber512*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber512/**' + # build if workflow file changed - '.github/workflows/kem_kyber512.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test kyber512 diff --git a/.github/workflows/kem_kyber768-90s.yml b/.github/workflows/kem_kyber768-90s.yml index 12c9807b..1f6657cb 100644 --- a/.github/workflows/kem_kyber768-90s.yml +++ b/.github/workflows/kem_kyber768-90s.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber768-90s*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber768-90s/**' + # build if workflow file changed - '.github/workflows/kem_kyber768-90s.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber768-90s*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber768-90s/**' + # build if workflow file changed - '.github/workflows/kem_kyber768-90s.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test kyber768-90s diff --git a/.github/workflows/kem_kyber768.yml b/.github/workflows/kem_kyber768.yml index d45fba79..517fbe17 100644 --- a/.github/workflows/kem_kyber768.yml +++ b/.github/workflows/kem_kyber768.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber768*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber768/**' + # build if workflow file changed - '.github/workflows/kem_kyber768.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/kyber768*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/kyber768/**' + # build if workflow file changed - '.github/workflows/kem_kyber768.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test kyber768 diff --git a/.github/workflows/kem_lightsaber.yml b/.github/workflows/kem_lightsaber.yml index 925e98ac..28cea1a4 100644 --- a/.github/workflows/kem_lightsaber.yml +++ b/.github/workflows/kem_lightsaber.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/lightsaber*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/lightsaber/**' + # build if workflow file changed - '.github/workflows/kem_lightsaber.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/lightsaber*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/lightsaber/**' + # build if workflow file changed - '.github/workflows/kem_lightsaber.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test lightsaber diff --git a/.github/workflows/kem_mceliece348864.yml b/.github/workflows/kem_mceliece348864.yml index 9c17330a..679784ad 100644 --- a/.github/workflows/kem_mceliece348864.yml +++ b/.github/workflows/kem_mceliece348864.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece348864*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece348864/**' + # build if workflow file changed - '.github/workflows/kem_mceliece348864.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece348864*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece348864/**' + # build if workflow file changed - '.github/workflows/kem_mceliece348864.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece348864 diff --git a/.github/workflows/kem_mceliece348864f.yml b/.github/workflows/kem_mceliece348864f.yml index f68321e9..85f48883 100644 --- a/.github/workflows/kem_mceliece348864f.yml +++ b/.github/workflows/kem_mceliece348864f.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece348864f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece348864f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece348864f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece348864f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece348864f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece348864f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece348864f diff --git a/.github/workflows/kem_mceliece460896.yml b/.github/workflows/kem_mceliece460896.yml index 21bd8f54..ea9cacca 100644 --- a/.github/workflows/kem_mceliece460896.yml +++ b/.github/workflows/kem_mceliece460896.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece460896*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece460896/**' + # build if workflow file changed - '.github/workflows/kem_mceliece460896.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece460896*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece460896/**' + # build if workflow file changed - '.github/workflows/kem_mceliece460896.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece460896 diff --git a/.github/workflows/kem_mceliece460896f.yml b/.github/workflows/kem_mceliece460896f.yml index d17c473a..c1de6a86 100644 --- a/.github/workflows/kem_mceliece460896f.yml +++ b/.github/workflows/kem_mceliece460896f.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece460896f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece460896f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece460896f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece460896f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece460896f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece460896f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece460896f diff --git a/.github/workflows/kem_mceliece6688128.yml b/.github/workflows/kem_mceliece6688128.yml index 16826baa..214e1e4a 100644 --- a/.github/workflows/kem_mceliece6688128.yml +++ b/.github/workflows/kem_mceliece6688128.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6688128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6688128/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6688128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6688128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6688128/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6688128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece6688128 diff --git a/.github/workflows/kem_mceliece6688128f.yml b/.github/workflows/kem_mceliece6688128f.yml index 1f033bd4..0872ae32 100644 --- a/.github/workflows/kem_mceliece6688128f.yml +++ b/.github/workflows/kem_mceliece6688128f.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6688128f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6688128f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6688128f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6688128f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6688128f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6688128f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece6688128f diff --git a/.github/workflows/kem_mceliece6960119.yml b/.github/workflows/kem_mceliece6960119.yml index 38a0d31f..fb553a83 100644 --- a/.github/workflows/kem_mceliece6960119.yml +++ b/.github/workflows/kem_mceliece6960119.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6960119*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6960119/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6960119.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6960119*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6960119/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6960119.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece6960119 diff --git a/.github/workflows/kem_mceliece6960119f.yml b/.github/workflows/kem_mceliece6960119f.yml index 02d94df9..c65df99d 100644 --- a/.github/workflows/kem_mceliece6960119f.yml +++ b/.github/workflows/kem_mceliece6960119f.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6960119f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6960119f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6960119f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece6960119f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece6960119f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece6960119f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece6960119f diff --git a/.github/workflows/kem_mceliece8192128.yml b/.github/workflows/kem_mceliece8192128.yml index eca9057f..422af04a 100644 --- a/.github/workflows/kem_mceliece8192128.yml +++ b/.github/workflows/kem_mceliece8192128.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece8192128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece8192128/**' + # build if workflow file changed - '.github/workflows/kem_mceliece8192128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece8192128*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece8192128/**' + # build if workflow file changed - '.github/workflows/kem_mceliece8192128.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece8192128 diff --git a/.github/workflows/kem_mceliece8192128f.yml b/.github/workflows/kem_mceliece8192128f.yml index ef97fb3b..72334789 100644 --- a/.github/workflows/kem_mceliece8192128f.yml +++ b/.github/workflows/kem_mceliece8192128f.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece8192128f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece8192128f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece8192128f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/mceliece8192128f*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/mceliece8192128f/**' + # build if workflow file changed - '.github/workflows/kem_mceliece8192128f.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test mceliece8192128f diff --git a/.github/workflows/kem_ntruhps2048509.yml b/.github/workflows/kem_ntruhps2048509.yml index ae952668..211a7cf2 100644 --- a/.github/workflows/kem_ntruhps2048509.yml +++ b/.github/workflows/kem_ntruhps2048509.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhps2048509*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhps2048509/**' + # build if workflow file changed - '.github/workflows/kem_ntruhps2048509.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhps2048509*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhps2048509/**' + # build if workflow file changed - '.github/workflows/kem_ntruhps2048509.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test ntruhps2048509 diff --git a/.github/workflows/kem_ntruhps2048677.yml b/.github/workflows/kem_ntruhps2048677.yml index e5700434..3c0f8f92 100644 --- a/.github/workflows/kem_ntruhps2048677.yml +++ b/.github/workflows/kem_ntruhps2048677.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhps2048677*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhps2048677/**' + # build if workflow file changed - '.github/workflows/kem_ntruhps2048677.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhps2048677*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhps2048677/**' + # build if workflow file changed - '.github/workflows/kem_ntruhps2048677.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test ntruhps2048677 diff --git a/.github/workflows/kem_ntruhps4096821.yml b/.github/workflows/kem_ntruhps4096821.yml index 44b79b27..b418a768 100644 --- a/.github/workflows/kem_ntruhps4096821.yml +++ b/.github/workflows/kem_ntruhps4096821.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhps4096821*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhps4096821/**' + # build if workflow file changed - '.github/workflows/kem_ntruhps4096821.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhps4096821*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhps4096821/**' + # build if workflow file changed - '.github/workflows/kem_ntruhps4096821.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test ntruhps4096821 diff --git a/.github/workflows/kem_ntruhrss701.yml b/.github/workflows/kem_ntruhrss701.yml index 79a7ed18..52dee4e5 100644 --- a/.github/workflows/kem_ntruhrss701.yml +++ b/.github/workflows/kem_ntruhrss701.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhrss701*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhrss701/**' + # build if workflow file changed - '.github/workflows/kem_ntruhrss701.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntruhrss701*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntruhrss701/**' + # build if workflow file changed - '.github/workflows/kem_ntruhrss701.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test ntruhrss701 diff --git a/.github/workflows/kem_ntrulpr653.yml b/.github/workflows/kem_ntrulpr653.yml index 2a621342..a30f145e 100644 --- a/.github/workflows/kem_ntrulpr653.yml +++ b/.github/workflows/kem_ntrulpr653.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntrulpr653*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntrulpr653/**' + # build if workflow file changed - '.github/workflows/kem_ntrulpr653.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntrulpr653*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntrulpr653/**' + # build if workflow file changed - '.github/workflows/kem_ntrulpr653.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test ntrulpr653 diff --git a/.github/workflows/kem_ntrulpr761.yml b/.github/workflows/kem_ntrulpr761.yml index a5f3ab24..10920724 100644 --- a/.github/workflows/kem_ntrulpr761.yml +++ b/.github/workflows/kem_ntrulpr761.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntrulpr761*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntrulpr761/**' + # build if workflow file changed - '.github/workflows/kem_ntrulpr761.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntrulpr761*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntrulpr761/**' + # build if workflow file changed - '.github/workflows/kem_ntrulpr761.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test ntrulpr761 diff --git a/.github/workflows/kem_ntrulpr857.yml b/.github/workflows/kem_ntrulpr857.yml index 5e0e5a14..82a053c4 100644 --- a/.github/workflows/kem_ntrulpr857.yml +++ b/.github/workflows/kem_ntrulpr857.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntrulpr857*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntrulpr857/**' + # build if workflow file changed - '.github/workflows/kem_ntrulpr857.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/ntrulpr857*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/ntrulpr857/**' + # build if workflow file changed - '.github/workflows/kem_ntrulpr857.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test ntrulpr857 diff --git a/.github/workflows/kem_saber.yml b/.github/workflows/kem_saber.yml index 4c05ed83..3337b13c 100644 --- a/.github/workflows/kem_saber.yml +++ b/.github/workflows/kem_saber.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/saber*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/saber/**' + # build if workflow file changed - '.github/workflows/kem_saber.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/saber*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/saber/**' + # build if workflow file changed - '.github/workflows/kem_saber.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test saber diff --git a/.github/workflows/kem_sntrup653.yml b/.github/workflows/kem_sntrup653.yml index 48dc6548..eb2874d3 100644 --- a/.github/workflows/kem_sntrup653.yml +++ b/.github/workflows/kem_sntrup653.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sntrup653*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/sntrup653/**' + # build if workflow file changed - '.github/workflows/kem_sntrup653.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sntrup653*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/sntrup653/**' + # build if workflow file changed - '.github/workflows/kem_sntrup653.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sntrup653 diff --git a/.github/workflows/kem_sntrup761.yml b/.github/workflows/kem_sntrup761.yml index 06099544..5768e7d4 100644 --- a/.github/workflows/kem_sntrup761.yml +++ b/.github/workflows/kem_sntrup761.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sntrup761*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/sntrup761/**' + # build if workflow file changed - '.github/workflows/kem_sntrup761.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sntrup761*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/sntrup761/**' + # build if workflow file changed - '.github/workflows/kem_sntrup761.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sntrup761 diff --git a/.github/workflows/kem_sntrup857.yml b/.github/workflows/kem_sntrup857.yml index c43c119d..10053a7f 100644 --- a/.github/workflows/kem_sntrup857.yml +++ b/.github/workflows/kem_sntrup857.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sntrup857*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/sntrup857/**' + # build if workflow file changed - '.github/workflows/kem_sntrup857.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sntrup857*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_kem/sntrup857/**' + # build if workflow file changed - '.github/workflows/kem_sntrup857.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sntrup857 diff --git a/.github/workflows/sign_dilithium2.yml b/.github/workflows/sign_dilithium2.yml index b806e11b..58691916 100644 --- a/.github/workflows/sign_dilithium2.yml +++ b/.github/workflows/sign_dilithium2.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/dilithium2*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/dilithium2/**' + # build if workflow file changed - '.github/workflows/sign_dilithium2.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/dilithium2*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/dilithium2/**' + # build if workflow file changed - '.github/workflows/sign_dilithium2.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test dilithium2 diff --git a/.github/workflows/sign_dilithium3.yml b/.github/workflows/sign_dilithium3.yml index 5c5ed827..d52981c9 100644 --- a/.github/workflows/sign_dilithium3.yml +++ b/.github/workflows/sign_dilithium3.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/dilithium3*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/dilithium3/**' + # build if workflow file changed - '.github/workflows/sign_dilithium3.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/dilithium3*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/dilithium3/**' + # build if workflow file changed - '.github/workflows/sign_dilithium3.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test dilithium3 diff --git a/.github/workflows/sign_dilithium4.yml b/.github/workflows/sign_dilithium4.yml index 9793c4f2..82c27ce6 100644 --- a/.github/workflows/sign_dilithium4.yml +++ b/.github/workflows/sign_dilithium4.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/dilithium4*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/dilithium4/**' + # build if workflow file changed - '.github/workflows/sign_dilithium4.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/dilithium4*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/dilithium4/**' + # build if workflow file changed - '.github/workflows/sign_dilithium4.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test dilithium4 diff --git a/.github/workflows/sign_falcon-1024.yml b/.github/workflows/sign_falcon-1024.yml index c76c19a8..af48aa09 100644 --- a/.github/workflows/sign_falcon-1024.yml +++ b/.github/workflows/sign_falcon-1024.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/falcon-1024*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/falcon-1024/**' + # build if workflow file changed - '.github/workflows/sign_falcon-1024.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/falcon-1024*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/falcon-1024/**' + # build if workflow file changed - '.github/workflows/sign_falcon-1024.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test falcon-1024 diff --git a/.github/workflows/sign_falcon-512.yml b/.github/workflows/sign_falcon-512.yml index 045b7bae..7bf860ef 100644 --- a/.github/workflows/sign_falcon-512.yml +++ b/.github/workflows/sign_falcon-512.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/falcon-512*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/falcon-512/**' + # build if workflow file changed - '.github/workflows/sign_falcon-512.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/falcon-512*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/falcon-512/**' + # build if workflow file changed - '.github/workflows/sign_falcon-512.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test falcon-512 diff --git a/.github/workflows/sign_rainbowIIIc-classic.yml b/.github/workflows/sign_rainbowIIIc-classic.yml index 36b46dbe..1ed5acbf 100644 --- a/.github/workflows/sign_rainbowIIIc-classic.yml +++ b/.github/workflows/sign_rainbowIIIc-classic.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIIIc-classic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIIIc-classic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIIIc-classic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIIIc-classic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIIIc-classic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIIIc-classic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowIIIc-classic diff --git a/.github/workflows/sign_rainbowIIIc-cyclic-compressed.yml b/.github/workflows/sign_rainbowIIIc-cyclic-compressed.yml index 4508852a..4335458e 100644 --- a/.github/workflows/sign_rainbowIIIc-cyclic-compressed.yml +++ b/.github/workflows/sign_rainbowIIIc-cyclic-compressed.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIIIc-cyclic-compressed*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIIIc-cyclic-compressed/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIIIc-cyclic-compressed.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIIIc-cyclic-compressed*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIIIc-cyclic-compressed/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIIIc-cyclic-compressed.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowIIIc-cyclic-compressed diff --git a/.github/workflows/sign_rainbowIIIc-cyclic.yml b/.github/workflows/sign_rainbowIIIc-cyclic.yml index 5c77e2b4..4030c617 100644 --- a/.github/workflows/sign_rainbowIIIc-cyclic.yml +++ b/.github/workflows/sign_rainbowIIIc-cyclic.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIIIc-cyclic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIIIc-cyclic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIIIc-cyclic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIIIc-cyclic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIIIc-cyclic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIIIc-cyclic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowIIIc-cyclic diff --git a/.github/workflows/sign_rainbowIa-classic.yml b/.github/workflows/sign_rainbowIa-classic.yml index bb20f40c..a4d627e4 100644 --- a/.github/workflows/sign_rainbowIa-classic.yml +++ b/.github/workflows/sign_rainbowIa-classic.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIa-classic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIa-classic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIa-classic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIa-classic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIa-classic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIa-classic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowIa-classic diff --git a/.github/workflows/sign_rainbowIa-cyclic-compressed.yml b/.github/workflows/sign_rainbowIa-cyclic-compressed.yml index fd965ad8..abdd3e65 100644 --- a/.github/workflows/sign_rainbowIa-cyclic-compressed.yml +++ b/.github/workflows/sign_rainbowIa-cyclic-compressed.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIa-cyclic-compressed*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIa-cyclic-compressed/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIa-cyclic-compressed.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIa-cyclic-compressed*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIa-cyclic-compressed/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIa-cyclic-compressed.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowIa-cyclic-compressed diff --git a/.github/workflows/sign_rainbowIa-cyclic.yml b/.github/workflows/sign_rainbowIa-cyclic.yml index a1fe1c76..70173f3e 100644 --- a/.github/workflows/sign_rainbowIa-cyclic.yml +++ b/.github/workflows/sign_rainbowIa-cyclic.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIa-cyclic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIa-cyclic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIa-cyclic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowIa-cyclic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowIa-cyclic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowIa-cyclic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowIa-cyclic diff --git a/.github/workflows/sign_rainbowVc-classic.yml b/.github/workflows/sign_rainbowVc-classic.yml index 3f12fab3..8db8355c 100644 --- a/.github/workflows/sign_rainbowVc-classic.yml +++ b/.github/workflows/sign_rainbowVc-classic.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowVc-classic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowVc-classic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowVc-classic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowVc-classic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowVc-classic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowVc-classic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowVc-classic diff --git a/.github/workflows/sign_rainbowVc-cyclic-compressed.yml b/.github/workflows/sign_rainbowVc-cyclic-compressed.yml index f11a2e03..d50104a2 100644 --- a/.github/workflows/sign_rainbowVc-cyclic-compressed.yml +++ b/.github/workflows/sign_rainbowVc-cyclic-compressed.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowVc-cyclic-compressed*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowVc-cyclic-compressed/**' + # build if workflow file changed - '.github/workflows/sign_rainbowVc-cyclic-compressed.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowVc-cyclic-compressed*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowVc-cyclic-compressed/**' + # build if workflow file changed - '.github/workflows/sign_rainbowVc-cyclic-compressed.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowVc-cyclic-compressed diff --git a/.github/workflows/sign_rainbowVc-cyclic.yml b/.github/workflows/sign_rainbowVc-cyclic.yml index d7979087..0243694f 100644 --- a/.github/workflows/sign_rainbowVc-cyclic.yml +++ b/.github/workflows/sign_rainbowVc-cyclic.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowVc-cyclic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowVc-cyclic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowVc-cyclic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/rainbowVc-cyclic*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/rainbowVc-cyclic/**' + # build if workflow file changed - '.github/workflows/sign_rainbowVc-cyclic.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test rainbowVc-cyclic diff --git a/.github/workflows/sign_sphincs-haraka-128f-robust.yml b/.github/workflows/sign_sphincs-haraka-128f-robust.yml index 17485470..972e3b47 100644 --- a/.github/workflows/sign_sphincs-haraka-128f-robust.yml +++ b/.github/workflows/sign_sphincs-haraka-128f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-128f-robust diff --git a/.github/workflows/sign_sphincs-haraka-128f-simple.yml b/.github/workflows/sign_sphincs-haraka-128f-simple.yml index b1c97941..58edb35e 100644 --- a/.github/workflows/sign_sphincs-haraka-128f-simple.yml +++ b/.github/workflows/sign_sphincs-haraka-128f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-128f-simple diff --git a/.github/workflows/sign_sphincs-haraka-128s-robust.yml b/.github/workflows/sign_sphincs-haraka-128s-robust.yml index 73cba9f4..88ab2c62 100644 --- a/.github/workflows/sign_sphincs-haraka-128s-robust.yml +++ b/.github/workflows/sign_sphincs-haraka-128s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-128s-robust diff --git a/.github/workflows/sign_sphincs-haraka-128s-simple.yml b/.github/workflows/sign_sphincs-haraka-128s-simple.yml index 0d0b7d73..22fab772 100644 --- a/.github/workflows/sign_sphincs-haraka-128s-simple.yml +++ b/.github/workflows/sign_sphincs-haraka-128s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-128s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-128s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-128s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-128s-simple diff --git a/.github/workflows/sign_sphincs-haraka-192f-robust.yml b/.github/workflows/sign_sphincs-haraka-192f-robust.yml index 118c9e97..96b8e6e9 100644 --- a/.github/workflows/sign_sphincs-haraka-192f-robust.yml +++ b/.github/workflows/sign_sphincs-haraka-192f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-192f-robust diff --git a/.github/workflows/sign_sphincs-haraka-192f-simple.yml b/.github/workflows/sign_sphincs-haraka-192f-simple.yml index 7ee941a9..62f98ee0 100644 --- a/.github/workflows/sign_sphincs-haraka-192f-simple.yml +++ b/.github/workflows/sign_sphincs-haraka-192f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-192f-simple diff --git a/.github/workflows/sign_sphincs-haraka-192s-robust.yml b/.github/workflows/sign_sphincs-haraka-192s-robust.yml index b721e6dd..96a14d06 100644 --- a/.github/workflows/sign_sphincs-haraka-192s-robust.yml +++ b/.github/workflows/sign_sphincs-haraka-192s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-192s-robust diff --git a/.github/workflows/sign_sphincs-haraka-192s-simple.yml b/.github/workflows/sign_sphincs-haraka-192s-simple.yml index b06e4e7e..91fb9283 100644 --- a/.github/workflows/sign_sphincs-haraka-192s-simple.yml +++ b/.github/workflows/sign_sphincs-haraka-192s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-192s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-192s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-192s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-192s-simple diff --git a/.github/workflows/sign_sphincs-haraka-256f-robust.yml b/.github/workflows/sign_sphincs-haraka-256f-robust.yml index 3bba9f87..d84dee8e 100644 --- a/.github/workflows/sign_sphincs-haraka-256f-robust.yml +++ b/.github/workflows/sign_sphincs-haraka-256f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-256f-robust diff --git a/.github/workflows/sign_sphincs-haraka-256f-simple.yml b/.github/workflows/sign_sphincs-haraka-256f-simple.yml index b5ddc5ec..6ff095a9 100644 --- a/.github/workflows/sign_sphincs-haraka-256f-simple.yml +++ b/.github/workflows/sign_sphincs-haraka-256f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-256f-simple diff --git a/.github/workflows/sign_sphincs-haraka-256s-robust.yml b/.github/workflows/sign_sphincs-haraka-256s-robust.yml index a14456d4..bb35b4b5 100644 --- a/.github/workflows/sign_sphincs-haraka-256s-robust.yml +++ b/.github/workflows/sign_sphincs-haraka-256s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-256s-robust diff --git a/.github/workflows/sign_sphincs-haraka-256s-simple.yml b/.github/workflows/sign_sphincs-haraka-256s-simple.yml index e4a83e9c..9e9d3ae9 100644 --- a/.github/workflows/sign_sphincs-haraka-256s-simple.yml +++ b/.github/workflows/sign_sphincs-haraka-256s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-haraka-256s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-haraka-256s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-haraka-256s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-haraka-256s-simple diff --git a/.github/workflows/sign_sphincs-sha256-128f-robust.yml b/.github/workflows/sign_sphincs-sha256-128f-robust.yml index 8ef0cd6d..50e8cb3b 100644 --- a/.github/workflows/sign_sphincs-sha256-128f-robust.yml +++ b/.github/workflows/sign_sphincs-sha256-128f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-128f-robust diff --git a/.github/workflows/sign_sphincs-sha256-128f-simple.yml b/.github/workflows/sign_sphincs-sha256-128f-simple.yml index 399d08e8..e2fc958b 100644 --- a/.github/workflows/sign_sphincs-sha256-128f-simple.yml +++ b/.github/workflows/sign_sphincs-sha256-128f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-128f-simple diff --git a/.github/workflows/sign_sphincs-sha256-128s-robust.yml b/.github/workflows/sign_sphincs-sha256-128s-robust.yml index f28cfe08..9bf5b7d7 100644 --- a/.github/workflows/sign_sphincs-sha256-128s-robust.yml +++ b/.github/workflows/sign_sphincs-sha256-128s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-128s-robust diff --git a/.github/workflows/sign_sphincs-sha256-128s-simple.yml b/.github/workflows/sign_sphincs-sha256-128s-simple.yml index 799212de..ff227a4a 100644 --- a/.github/workflows/sign_sphincs-sha256-128s-simple.yml +++ b/.github/workflows/sign_sphincs-sha256-128s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-128s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-128s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-128s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-128s-simple diff --git a/.github/workflows/sign_sphincs-sha256-192f-robust.yml b/.github/workflows/sign_sphincs-sha256-192f-robust.yml index 1e8605b7..b9bdf607 100644 --- a/.github/workflows/sign_sphincs-sha256-192f-robust.yml +++ b/.github/workflows/sign_sphincs-sha256-192f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-192f-robust diff --git a/.github/workflows/sign_sphincs-sha256-192f-simple.yml b/.github/workflows/sign_sphincs-sha256-192f-simple.yml index 47010d98..7ede4fd0 100644 --- a/.github/workflows/sign_sphincs-sha256-192f-simple.yml +++ b/.github/workflows/sign_sphincs-sha256-192f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-192f-simple diff --git a/.github/workflows/sign_sphincs-sha256-192s-robust.yml b/.github/workflows/sign_sphincs-sha256-192s-robust.yml index a85cae75..2150bfc4 100644 --- a/.github/workflows/sign_sphincs-sha256-192s-robust.yml +++ b/.github/workflows/sign_sphincs-sha256-192s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-192s-robust diff --git a/.github/workflows/sign_sphincs-sha256-192s-simple.yml b/.github/workflows/sign_sphincs-sha256-192s-simple.yml index 91fa93cd..077d4d83 100644 --- a/.github/workflows/sign_sphincs-sha256-192s-simple.yml +++ b/.github/workflows/sign_sphincs-sha256-192s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-192s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-192s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-192s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-192s-simple diff --git a/.github/workflows/sign_sphincs-sha256-256f-robust.yml b/.github/workflows/sign_sphincs-sha256-256f-robust.yml index 980339ef..7e0787fd 100644 --- a/.github/workflows/sign_sphincs-sha256-256f-robust.yml +++ b/.github/workflows/sign_sphincs-sha256-256f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-256f-robust diff --git a/.github/workflows/sign_sphincs-sha256-256f-simple.yml b/.github/workflows/sign_sphincs-sha256-256f-simple.yml index 01d4cc7a..e6167b47 100644 --- a/.github/workflows/sign_sphincs-sha256-256f-simple.yml +++ b/.github/workflows/sign_sphincs-sha256-256f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-256f-simple diff --git a/.github/workflows/sign_sphincs-sha256-256s-robust.yml b/.github/workflows/sign_sphincs-sha256-256s-robust.yml index c52e903d..4566fa23 100644 --- a/.github/workflows/sign_sphincs-sha256-256s-robust.yml +++ b/.github/workflows/sign_sphincs-sha256-256s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-256s-robust diff --git a/.github/workflows/sign_sphincs-sha256-256s-simple.yml b/.github/workflows/sign_sphincs-sha256-256s-simple.yml index efa2194e..963c6b1a 100644 --- a/.github/workflows/sign_sphincs-sha256-256s-simple.yml +++ b/.github/workflows/sign_sphincs-sha256-256s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-sha256-256s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-sha256-256s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-sha256-256s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-sha256-256s-simple diff --git a/.github/workflows/sign_sphincs-shake256-128f-robust.yml b/.github/workflows/sign_sphincs-shake256-128f-robust.yml index 05bdecac..5f47ac4a 100644 --- a/.github/workflows/sign_sphincs-shake256-128f-robust.yml +++ b/.github/workflows/sign_sphincs-shake256-128f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-128f-robust diff --git a/.github/workflows/sign_sphincs-shake256-128f-simple.yml b/.github/workflows/sign_sphincs-shake256-128f-simple.yml index 0caf9650..a01734cc 100644 --- a/.github/workflows/sign_sphincs-shake256-128f-simple.yml +++ b/.github/workflows/sign_sphincs-shake256-128f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-128f-simple diff --git a/.github/workflows/sign_sphincs-shake256-128s-robust.yml b/.github/workflows/sign_sphincs-shake256-128s-robust.yml index 6da602d1..51944d50 100644 --- a/.github/workflows/sign_sphincs-shake256-128s-robust.yml +++ b/.github/workflows/sign_sphincs-shake256-128s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-128s-robust diff --git a/.github/workflows/sign_sphincs-shake256-128s-simple.yml b/.github/workflows/sign_sphincs-shake256-128s-simple.yml index 52989fe3..46c2b0f4 100644 --- a/.github/workflows/sign_sphincs-shake256-128s-simple.yml +++ b/.github/workflows/sign_sphincs-shake256-128s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-128s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-128s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-128s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-128s-simple diff --git a/.github/workflows/sign_sphincs-shake256-192f-robust.yml b/.github/workflows/sign_sphincs-shake256-192f-robust.yml index d3bf5361..f11f5322 100644 --- a/.github/workflows/sign_sphincs-shake256-192f-robust.yml +++ b/.github/workflows/sign_sphincs-shake256-192f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-192f-robust diff --git a/.github/workflows/sign_sphincs-shake256-192f-simple.yml b/.github/workflows/sign_sphincs-shake256-192f-simple.yml index ccaee94f..2299090e 100644 --- a/.github/workflows/sign_sphincs-shake256-192f-simple.yml +++ b/.github/workflows/sign_sphincs-shake256-192f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-192f-simple diff --git a/.github/workflows/sign_sphincs-shake256-192s-robust.yml b/.github/workflows/sign_sphincs-shake256-192s-robust.yml index 87d250cf..38d91656 100644 --- a/.github/workflows/sign_sphincs-shake256-192s-robust.yml +++ b/.github/workflows/sign_sphincs-shake256-192s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-192s-robust diff --git a/.github/workflows/sign_sphincs-shake256-192s-simple.yml b/.github/workflows/sign_sphincs-shake256-192s-simple.yml index f4cb71c2..01064f78 100644 --- a/.github/workflows/sign_sphincs-shake256-192s-simple.yml +++ b/.github/workflows/sign_sphincs-shake256-192s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-192s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-192s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-192s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-192s-simple diff --git a/.github/workflows/sign_sphincs-shake256-256f-robust.yml b/.github/workflows/sign_sphincs-shake256-256f-robust.yml index d0c7305f..11164a48 100644 --- a/.github/workflows/sign_sphincs-shake256-256f-robust.yml +++ b/.github/workflows/sign_sphincs-shake256-256f-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256f-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256f-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256f-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-256f-robust diff --git a/.github/workflows/sign_sphincs-shake256-256f-simple.yml b/.github/workflows/sign_sphincs-shake256-256f-simple.yml index c20eff3b..094f1b21 100644 --- a/.github/workflows/sign_sphincs-shake256-256f-simple.yml +++ b/.github/workflows/sign_sphincs-shake256-256f-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256f-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256f-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256f-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-256f-simple diff --git a/.github/workflows/sign_sphincs-shake256-256s-robust.yml b/.github/workflows/sign_sphincs-shake256-256s-robust.yml index 9a16be76..0d206ac2 100644 --- a/.github/workflows/sign_sphincs-shake256-256s-robust.yml +++ b/.github/workflows/sign_sphincs-shake256-256s-robust.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256s-robust*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256s-robust/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256s-robust.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-256s-robust diff --git a/.github/workflows/sign_sphincs-shake256-256s-simple.yml b/.github/workflows/sign_sphincs-shake256-256s-simple.yml index cb2518ca..bdef7695 100644 --- a/.github/workflows/sign_sphincs-shake256-256s-simple.yml +++ b/.github/workflows/sign_sphincs-shake256-256s-simple.yml @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/sphincs-shake256-256s-simple*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_sign/sphincs-shake256-256s-simple/**' + # build if workflow file changed - '.github/workflows/sign_sphincs-shake256-256s-simple.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test sphincs-shake256-256s-simple diff --git a/.github/workflows/template.yml.j2 b/.github/workflows/template.yml.j2 index 946ea7a2..8a667fb4 100644 --- a/.github/workflows/template.yml.j2 +++ b/.github/workflows/template.yml.j2 @@ -1,18 +1,38 @@ on: push: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/{- scheme_name -}*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_{- scheme_type -}/{- scheme_name -}/**' + # build if workflow file changed - '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' pull_request: paths: + # build if tests change - 'test/**' + # do not build if other schemes duplicate_consistency files change + - '!test/duplicate_consistency/*.yml' + - 'test/duplicate_consistency/{- scheme_name -}*.yml' + # build if common files change - 'common/**' + # build if scheme changed - 'crypto_{- scheme_type -}/{- scheme_name -}/**' + # build if workflow file changed - '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml' + # Build if any files in the root change, except .md files - '*' + - '!*.md' + schedule: + - cron: '5 4 * * *' name: Test {- scheme_name -} diff --git a/README.md b/README.md index 56b7465b..6c3247d9 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # PQClean -[![Build Status on Travis CI](https://travis-ci.com/PQClean/PQClean.svg?branch=master)](https://travis-ci.com/PQClean/PQClean) -[![Build Status on Appveyor](https://ci.appveyor.com/api/projects/status/186ky7yb9mlqj3io/branch/master?svg=true)](https://ci.appveyor.com/project/PQClean/pqclean/branch/master) -[![Build Status on CircleCI](https://circleci.com/gh/PQClean/PQClean/tree/master.svg?style=svg)](https://circleci.com/gh/PQClean/PQClean/tree/master) +_[See the build status for each component here](.github/workflows/BADGES.md)_ **PQClean**, in short, is an effort to collect **clean** implementations of the post-quantum schemes that are in the @@ -161,10 +159,10 @@ All other code in this repository is released under the conditions of [CC0](http See https://github.com/PQClean/PQClean/wiki/Test-framework for details about the PQClean test framework. -While we run extensive automatic testing on [Circle CI][circleci-pqc] (Linux builds), [Travis CI][travis-pqc] (OS X builds) and [Appveyor][appveyor-pqc] (Windows builds), most tests can also be run locally. +While we run extensive automatic testing on Github Actions ((emulated) Linux builds, MacOS and Windows builds) and [Travis CI][travis-pqc] (Aarch64 builds), and most tests can also be run locally. To do this, make sure the following is installed: -* Python 3.5+ +* Python 3.6+ * `pytest` for python 3. We also recommend installing ``pytest-xdist`` to allow running tests in parallel. @@ -179,6 +177,4 @@ Run the Python-based tests by going into the `test` directory and running `pytes You may also run `python3 ` where `` is any of the files starting with `test_` in the `test/` folder. -[circleci-pqc]: https://circleci.com/gh/PQClean/PQClean/ [travis-pqc]: https://travis-ci.com/PQClean/PQClean/ -[appveyor-pqc]: https://ci.appveyor.com/project/PQClean/pqclean