Skip to content

Commit f35f66f

Browse files
committed
Update Jane Street packages
1 parent 8f11175 commit f35f66f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/wasm_of_ocaml.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,21 @@ jobs:
120120
opam exec -- dune exec --root wasm_of_ocaml tools/ci_setup.exe
121121
122122
- name: Pin Jane Street packages
123-
if: ${{ ! matrix.jane_street_tests }}
123+
if: contains(fromJson('["4.14","5.0","5.1","5.2"]'), env.ocaml-compiler)
124124
run: |
125125
opam pin add -n base.v0.16.1 https://github.com/ocaml-wasm/base.git#wasm
126126
opam pin add -n time_now.v0.16.1 https://github.com/ocaml-wasm/time_now.git#wasm
127127
opam pin add -n ppx_inline_test.v0.16.1 https://github.com/ocaml-wasm/ppx_inline_test.git#wasm
128128
opam pin add -n ppx_expect.v0.16.1 https://github.com/ocaml-wasm/ppx_expect.git#wasm
129129
130+
- name: Pin Jane Street packages
131+
if: ${{ ! (matrix.jane_street_tests || contains(fromJson('["4.14","5.0","5.1","5.2"]'), env.ocaml-compiler)) }}
132+
run: |
133+
opam pin add -n base.v0.17.3 https://github.com/ocaml-wasm/base.git#wasm-v0.17
134+
opam pin add -n time_now.v0.17.0 https://github.com/ocaml-wasm/time_now.git#wasm-v0.17
135+
opam pin add -n ppx_inline_test.v0.17.1 https://github.com/ocaml-wasm/ppx_inline_test.git#wasm-v0.17
136+
opam pin add -n ppx_expect.v0.17.3 https://github.com/ocaml-wasm/ppx_expect.git#wasm-v0.17
137+
130138
- name: Install wasm_of_ocaml and its test dependencies
131139
working-directory: ./wasm_of_ocaml
132140
run: |

0 commit comments

Comments
 (0)