-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 798 Bytes
/
ci.yml
File metadata and controls
37 lines (30 loc) · 798 Bytes
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: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
rocq: ["9.1.1", "9.2.0"]
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Install OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.2.1
dune-cache: true
- name: Install opam dependencies
run: |
opam repo add rocq-released https://rocq-prover.org/opam/released
opam pin add --no-action --kind version rocq-core ${{ matrix.rocq }}
opam install . --deps-only
- name: Dune build
run: |
opam exec -- dune build
opam exec -- dune build --profile ltac2