Skip to content

Commit bba194e

Browse files
committed
Force OCaml >= 5.3
This is to check the CI with the last version of OCaml.
1 parent 17416be commit bba194e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- name: Install EasyCrypt dependencies
2323
run: |
24-
opam pin add -n easycrypt .
25-
opam install --deps-only easycrypt
24+
opam pin add --update-invariant -n easycrypt .
25+
opam install --update-invariant --deps-only easycrypt
2626
- name: Compile EasyCrypt
2727
run: opam exec -- make PROFILE=ci
2828

@@ -60,8 +60,8 @@ jobs:
6060
- uses: actions/checkout@v4
6161
- name: Install EasyCrypt dependencies
6262
run: |
63-
opam pin add -n easycrypt .
64-
opam install --deps-only easycrypt
63+
opam pin add --update-invariant -n easycrypt .
64+
opam install --update-invariant --deps-only easycrypt
6565
- name: Compile EasyCrypt
6666
run: opam exec -- make
6767
- name: Detect SMT provers
@@ -127,8 +127,8 @@ jobs:
127127
project/${{ matrix.target.name }}
128128
- name: Install EasyCrypt dependencies
129129
run: |
130-
opam pin add -n easycrypt easycrypt
131-
opam install --deps-only easycrypt
130+
opam pin add --update-invariant -n easycrypt easycrypt
131+
opam install --update-invariant --deps-only easycrypt
132132
- name: Compile & Install EasyCrypt
133133
run: opam exec -- make -C easycrypt build install
134134
- name: Detect SMT provers

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
(name easycrypt)
1313
(sites (lib theories) (libexec commands))
1414
(depends
15-
(ocaml (>= 4.08.0))
15+
(ocaml (>= 5.3))
1616
(batteries (>= 3))
1717
(camlp-streams (>= 5))
1818
camlzip

easycrypt.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
depends: [
3-
"ocaml" {>= "4.08.0"}
3+
"ocaml" {>= "5.3"}
44
"batteries" {>= "3"}
55
"camlp-streams" {>= "5"}
66
"camlzip"

0 commit comments

Comments
 (0)