-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split workflows for basic build+test and CBMC, add pqcp-arm64 runner
Signed-off-by: Hanno Becker <[email protected]>
- Loading branch information
1 parent
e23c7c6
commit 4c2f1e2
Showing
2 changed files
with
43 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: CBMC | ||
on: | ||
push: | ||
branches: ["*"] | ||
pull_request: | ||
branches: ["main"] | ||
jobs: | ||
cbmc: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: install native dependencies | ||
run: brew install litani cbmc cbmc-viewer | ||
- name: Setup nix | ||
uses: ./.github/actions/setup-nix | ||
with: | ||
script: | | ||
cat >> $GITHUB_STEP_SUMMARY << EOF | ||
## Setup | ||
Architecture: $(uname -m) | ||
- $(nix --version) | ||
- $(cbmc --version) | ||
- $(litani --version) | ||
- $(cadical --version) | ||
- $(${{ matrix.cross_prefix }}gcc --version | grep -m1 "") | ||
- $(bash --version | grep -m1 "") | ||
EOF | ||
- name: Run CBMC proofs | ||
shell: nix develop .#ci -c bash -e {0} | ||
run: | | ||
cd cbmc/proofs; | ||
KYBER_K=2 ./run-cbmc-proofs.py --summarize; | ||
KYBER_K=3 ./run-cbmc-proofs.py --summarize; | ||
KYBER_K=4 ./run-cbmc-proofs.py --summarize; |