diff --git a/.gitea/workflows/ccc-ci.yaml b/.gitea/workflows/ccc-ci.yaml new file mode 100644 index 0000000..758af81 --- /dev/null +++ b/.gitea/workflows/ccc-ci.yaml @@ -0,0 +1,34 @@ +# ccc_rust CI (R3-6). Gitea Actions (GitHub Actions syntax). +# The default job runs every provider's self-test, 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 --workspace --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