Skip to content

Commit

Permalink
run benchmark in bench workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil committed Jun 19, 2024
1 parent 3cf69cb commit b4e1126
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,7 @@ jobs:
- $(${{ matrix.cross_prefix }}gcc --version | grep -m1 "")
- $(bash --version | grep -m1 "")
EOF
- name: Run functional tests
id: func_test
- name: Run benchmark
shell: nix develop .#ci -c bash -e {0}
run: |
tests func -v
- name: Run KAT tests
id: kat_test
if: |
success()
|| steps.func_test.conclusion == 'failure'
shell: nix develop .#ci -c bash -e {0}
run: |
tests kat -v
- name: Run Nistkat tests
id: nistkat_test
if: |
success()
|| steps.func_test.conclusion == 'failure'
|| steps.kat_test.conclusion == 'failure'
shell: nix develop .#ci -c bash -e {0}
run: |
tests nistkat -v
tests bench -v
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
matrix:
system: [ macos-latest, pqcp-arm64, ubuntu-latest ]
exclude:
- system: ${{ github.event_name != 'pull_request' && 'pqcp-arm64' }}
- system: ${{ (github.ref != 'refs/heads/main' || github.repository_owner != 'pq-code-package') && 'pqcp-arm64' }}
- system: ${{ github.repository_owner != 'pq-code-package' && 'pqcp-arm64' }}
name: build_kat (${{ matrix.system }})
runs-on: ${{ matrix.system }}
env:
Expand Down

0 comments on commit b4e1126

Please sign in to comment.