-
Notifications
You must be signed in to change notification settings - Fork 17
69 lines (63 loc) · 2.23 KB
/
ci.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
on:
# Run the checks on the latest commit from `main`
push:
branches:
- main
# Run the check for any pull request. The check is run on a merge between the
# PR commit and the `main` branch at the time of running the check.
pull_request:
# Runs the check when a PR is added to the merge queue.
merge_group:
# Makes it possible to run the forkflow by hand from GItHub's interface.
workflow_dispatch:
# Cancel previous versions of this job that are still running.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
nix:
#runs-on: ubuntu-latest
runs-on: [self-hosted, linux, nix]
steps:
#- uses: cachix/install-nix-action@v22
- uses: actions/checkout@v4
- run: nix build -L .#charon
- run: nix build -L .#charon-ml
- run: nix flake check -L
check-version-number:
runs-on: [self-hosted, linux, nix]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # deep clone in order to get access to other commits
- run: nix develop --command ./scripts/ci-check-version-number.sh
aeneas:
needs: [nix]
runs-on: [self-hosted, linux, nix]
steps:
- run: |
nix build --refresh -L 'github:aeneasverif/aeneas#checks.x86_64-linux.aeneas-tests' \
--override-input charon github:aeneasverif/charon/${{ github.sha }} \
--override-input charon/rust-overlay github:oxalica/rust-overlay/master
eurydice:
needs: [nix]
runs-on: [self-hosted, linux, nix]
steps:
- uses: actions/checkout@v4
with:
repository: Inria-Prosecco/circus-green
- run: |
nix flake lock --refresh --update-input eurydice
nix flake lock --override-input charon github:aeneasverif/charon/${{ github.sha }}
./check.sh eurydice
kyber:
needs: [eurydice]
runs-on: [self-hosted, linux, nix]
steps:
- uses: actions/checkout@v4
with:
repository: Inria-Prosecco/circus-green
- run: |
nix flake lock --refresh --update-input eurydice
nix flake lock --override-input charon github:aeneasverif/charon/${{ github.sha }}
./check.sh ml-kem-small