lum_ccc_rust/.gitea/workflows/ccc-ci.yaml

49 lines
1.6 KiB
YAML

# ccc_rust CI (R3-6). Gitea Actions (GitHub Actions syntax).
# The default job runs every default provider's self-test (wolfSSL is opt-in
# and has its own job), the cross-provider
# conformance and CCC v2 vector tests; the liboqs job builds the experimental
# provider and runs the McEliece interop check against the pure-Rust one.
name: ccc-ci
on:
push:
branches: [dev, trunk]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Tests (default features)
run: ./ci.sh test
- name: Release-mode tests (cascade vectors, Argon2id, McEliece)
run: cargo test --release
- name: AWS-LC-FIPS build and self-test (the release anchor)
run: cargo test -p ccc-crypto-awslc --no-default-features --features fips --release
wolfssl:
# Opt-in provider (GPLv3 or commercial): self-test and cross-check only.
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: wolfSSL self-test, conformance and pinned vectors
run: cargo test -p ccc-crypto-wolfssl -p ccc-conformance-tests --features ccc-conformance-tests/wolfssl --release
liboqs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build liboqs provider and run its interop tests
run: cargo test -p ccc-crypto-oqs --features liboqs --release