-
Notifications
You must be signed in to change notification settings - Fork 15
37 lines (34 loc) · 1.02 KB
/
hol_light.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-License-Identifier: Apache-2.0
name: HOL-Light
permissions:
contents: read
on:
push:
branches: ["main"]
# Only run upon changes to AArch64 NTT or invNTT
paths:
- 'proofs/hol_light/arm/**/*.S'
pull_request:
branches: ["main"]
paths:
# Only run upon changes to AArch64 NTT or invNTT
- 'proofs/hol_light/arm/**/*.S'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
hol_light_proofs:
strategy:
matrix:
proof: [mlkem_ntt,mlkem_intt]
name: HOL Light proof for ${{ matrix.proof }}.S
runs-on: pqcp-arm64
if: github.repository_owner == 'pq-code-package' && !github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup-shell
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
nix-shell: 'hol_light'
script: |
make -C proofs/hol_light/arm mlkem/${{ matrix.proof }}.correct