-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 919 Bytes
/
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
name: Crypto Proofs Check
on: [push,pull_request]
env:
HOME: /home/charlie
OPAMYES: true
OPAMJOBS: 2
jobs:
easycrypt:
name: Compile & Cache EasyCrypt
runs-on: ubuntu-20.04
container:
image: ghcr.io/easycrypt/ec-build-box
steps:
- uses: actions/checkout@v4
- name: Compile & Cache EasyCrypt
uses: ./.github/actions/easycrypt
project:
name: Compile Project
needs: easycrypt
runs-on: ubuntu-20.04
container:
image: ghcr.io/easycrypt/ec-build-box
strategy:
fail-fast: false
matrix:
target: [ [ 'ci-test', 'config/tests.config', 'all' ] ]
steps:
- uses: actions/checkout@v4
- name: Compile & Cache EasyCrypt
uses: ./.github/actions/easycrypt
- name: Compile project
working-directory: ${{ matrix.target[0] }}
run: opam exec -- easycrypt runtest ${{ matrix.target[1] }} ${{ matrix.target[2] }}