|
49 | 49 | uses: ocaml/setup-ocaml@v2 |
50 | 50 | with: |
51 | 51 | ocaml-compiler: ${{ matrix.ocaml-compiler }} |
| 52 | + opam-depext-flags: --with-test # doesn't work (https://github.com/ocaml/opam/issues/5836) |
| 53 | + |
| 54 | + - name: Install graph-easy # TODO: remove if depext --with-test works |
| 55 | + if: ${{ matrix.os == 'ubuntu-latest' }} |
| 56 | + run: sudo apt install -y libgraph-easy-perl |
52 | 57 |
|
53 | 58 | - name: Install dependencies |
54 | 59 | run: opam install . --deps-only --with-test |
|
57 | 62 | if: ${{ matrix.apron }} |
58 | 63 | run: | |
59 | 64 | opam depext apron |
60 | | - opam install apron |
| 65 | + opam install apron mlgmpidl.1.2.15 |
61 | 66 |
|
62 | 67 | - name: Install Z3 dependencies |
63 | 68 | if: ${{ matrix.z3 }} |
@@ -105,14 +110,19 @@ jobs: |
105 | 110 | uses: ocaml/setup-ocaml@v2 |
106 | 111 | with: |
107 | 112 | ocaml-compiler: ${{ matrix.ocaml-compiler }} |
| 113 | + opam-depext-flags: --with-test # doesn't work (https://github.com/ocaml/opam/issues/5836) |
| 114 | + |
| 115 | + - name: Install graph-easy # TODO: remove if depext --with-test works |
| 116 | + if: ${{ matrix.os == 'ubuntu-latest' }} |
| 117 | + run: sudo apt install -y libgraph-easy-perl |
108 | 118 |
|
109 | 119 | - name: Install dependencies |
110 | 120 | run: opam install . --deps-only --with-test |
111 | 121 |
|
112 | 122 | - name: Install Apron dependencies |
113 | 123 | run: | |
114 | 124 | opam depext apron |
115 | | - opam install apron |
| 125 | + opam install apron mlgmpidl.1.2.15 |
116 | 126 |
|
117 | 127 | - name: Build |
118 | 128 | if: ${{ false }} |
@@ -193,14 +203,19 @@ jobs: |
193 | 203 | uses: ocaml/setup-ocaml@v2 |
194 | 204 | with: |
195 | 205 | ocaml-compiler: ${{ matrix.ocaml-compiler }} |
| 206 | + opam-depext-flags: --with-test # doesn't work (https://github.com/ocaml/opam/issues/5836) |
| 207 | + |
| 208 | + - name: Install graph-easy # TODO: remove if depext --with-test works |
| 209 | + if: ${{ matrix.os == 'ubuntu-latest' }} |
| 210 | + run: sudo apt install -y libgraph-easy-perl |
196 | 211 |
|
197 | 212 | - name: Install Goblint with test |
198 | 213 | run: opam install goblint --with-test |
199 | 214 |
|
200 | 215 | - name: Install Apron dependencies |
201 | 216 | run: | |
202 | 217 | opam depext apron |
203 | | - opam install apron |
| 218 | + opam install apron mlgmpidl.1.2.15 |
204 | 219 |
|
205 | 220 | - name: Symlink installed goblint to repository # because tests want to use locally built one |
206 | 221 | run: ln -s $(opam exec -- which goblint) goblint |
|
0 commit comments