- ext/liboqs: vendored (ML-KEM/ML-DSA ready), -isystem ext/liboqs/include - node/PQHybrid.*: KDF over X25519 agree + ML-KEM-768 encaps scaffold - wire into IncomingPacket/Node/Bond/selftest/OneService paths - zeroidc ext.rs: URL param parser unit tests - SPEC.md: BackOne quantum-safe task table (T1–T23) - research doc: hybrid PQ fork plan (ML-KEM+X25519, ML-DSA+Ed25519)
84 lines
3.5 KiB
YAML
84 lines
3.5 KiB
YAML
name: Windows tests
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on: [workflow_call, workflow_dispatch]
|
|
jobs:
|
|
|
|
windows-arm64:
|
|
strategy:
|
|
matrix:
|
|
runner: [windows-2022, windows-2025]
|
|
stfl_opt: [ON, OFF]
|
|
runs-on: ${{ matrix.runner }}
|
|
timeout-minutes: 85 # max + 3*std over the last thousands of successful runs
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
|
|
- name: Generate Project
|
|
run: cmake -B build --toolchain .CMake/toolchain_windows_arm64.cmake -DOQS_ENABLE_SIG_SLH_DSA=OFF -DOQS_ENABLE_SIG_STFL_LMS=ON -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_SIG_STFL_KEY_SIG_GEN=${{ matrix.stfl_opt }} .
|
|
- name: Build Project
|
|
run: cmake --build build
|
|
|
|
windows-arm64-slhdsa:
|
|
strategy:
|
|
matrix:
|
|
runner: [windows-2022, windows-2025]
|
|
stfl_opt: [ON, OFF]
|
|
runs-on: ${{ matrix.runner }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
|
|
- name: Generate Project
|
|
run: cmake -B build --toolchain .CMake/toolchain_windows_arm64.cmake -DOQS_MINIMAL_BUILD=SIG_slh_dsa .
|
|
- name: Build Project
|
|
run: cmake --build build
|
|
|
|
windows-x86:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
runner: [windows-2022, windows-2025]
|
|
toolchain: [.CMake/toolchain_windows_x86.cmake, .CMake/toolchain_windows_amd64.cmake]
|
|
stfl_opt: [ON, OFF]
|
|
runs-on: ${{ matrix.runner }}
|
|
timeout-minutes: 85 # max + 3*std over the last thousands of successful runs
|
|
steps:
|
|
- name: Install Python
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
|
|
- name: Generate Project
|
|
run: cmake -B build --toolchain ${{ matrix.toolchain }} -DOQS_ENABLE_SIG_SLH_DSA=OFF -DOQS_ENABLE_SIG_STFL_LMS=ON -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_SIG_STFL_KEY_SIG_GEN=${{ matrix.stfl_opt }} .
|
|
- name: Build Project
|
|
run: cmake --build build
|
|
- name: Test dependencies
|
|
run: pip.exe install --require-hashes -r .github\workflows\requirements.txt
|
|
- name: Run tests
|
|
run: |
|
|
python -m pytest --numprocesses=auto -vv --maxfail=10 --ignore=tests/test_code_conventions.py --ignore=tests/test_kat_all.py --junitxml=build\test-results\pytest\test-results.xml
|
|
|
|
windows-x86-slhdsa:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
runner: [windows-2022, windows-2025]
|
|
toolchain: [.CMake/toolchain_windows_x86.cmake, .CMake/toolchain_windows_amd64.cmake]
|
|
stfl_opt: [ON, OFF]
|
|
runs-on: ${{ matrix.runner }}
|
|
steps:
|
|
- name: Install Python
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
|
|
- name: Generate Project
|
|
run: cmake -B build --toolchain ${{ matrix.toolchain }} -DOQS_MINIMAL_BUILD=SIG_slh_dsa .
|
|
- name: Build Project
|
|
run: cmake --build build
|
|
- name: Test dependencies
|
|
run: pip.exe install --require-hashes -r .github\workflows\requirements.txt
|
|
- name: Run tests
|
|
run: |
|
|
python -m pytest --numprocesses=auto -vv --maxfail=10 --ignore=tests/test_code_conventions.py --ignore=tests/test_kat_all.py --junitxml=build\test-results\pytest\test-results.xml
|