Skip to content

Commit c246403

Browse files
committed
Add CI
1 parent 873212a commit c246403

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
check:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
rocq: ["9.0.1", "9.1.1"]
16+
fail-fast: false
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v5
21+
22+
- name: Install OCaml
23+
uses: ocaml/setup-ocaml@v3
24+
with:
25+
ocaml-compiler: 5.2.1
26+
dune-cache: true
27+
28+
- name: Install opam dependencies
29+
run: |
30+
opam pin add --no-action --kind version rocq-core ${{ matrix.rocq }}
31+
opam install . --deps-only
32+
33+
- name: Dune build
34+
run: opam exec -- dune build

0 commit comments

Comments
 (0)