Skip to content

Commit 2d5158a

Browse files
committed
OxCaml: update CI
1 parent ad2049d commit 2d5158a

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/js_of_ocaml.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ jobs:
9696
skip-effects: true
9797
skip-test: true
9898
skip-doc: true
99+
- os: ubuntu-latest
100+
os-name: Ubuntu
101+
ocaml-name: "OxCaml"
102+
ocaml-compiler: "ocaml-variants.5.2.0+ox"
103+
skip-effects: false
104+
skip-test: false
105+
skip-doc: true
99106

100107
runs-on: ${{ matrix.os }}
101108

@@ -140,6 +147,16 @@ jobs:
140147
uses: ocaml/setup-ocaml@v3
141148
with:
142149
ocaml-compiler: ${{ matrix.ocaml-compiler }}
150+
if: matrix.ocaml-compiler != 'ocaml-variants.5.2.0+ox'
151+
152+
- name: Set-up OxCaml ${{ matrix.ocaml-compiler }}
153+
uses: ocaml/setup-ocaml@v3
154+
with:
155+
ocaml-compiler: ${{ matrix.ocaml-compiler }}
156+
opam-repositories: |
157+
default: https://github.com/ocaml/opam-repository.git
158+
ox: https://github.com/oxcaml/opam-repository.git
159+
if: matrix.ocaml-compiler == 'ocaml-variants.5.2.0+ox'
143160

144161
# Work-around a race between reinstalling mingw-w64-shims
145162
# (because of conf-pkg-config optional dep) and installing other

.github/workflows/wasm_of_ocaml.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ jobs:
5858
separate_compilation: false
5959
jane_street_tests: true
6060
all_jane_street_tests: false
61+
- os: ubuntu-latest
62+
os-name: Ubuntu
63+
ocaml-compiler: "ocaml-variants.5.2.0+ox"
64+
separate_compilation: true
65+
jane_street_tests: true
66+
all_jane_street_tests: true
6167

6268
runs-on: ${{ matrix.os }}
6369

@@ -98,6 +104,16 @@ jobs:
98104
uses: ocaml/setup-ocaml@v3
99105
with:
100106
ocaml-compiler: ${{ matrix.ocaml-compiler }}
107+
if: matrix.ocaml-compiler != 'ocaml-variants.5.2.0+ox'
108+
109+
- name: Set-up OxCaml ${{ matrix.ocaml-compiler }}
110+
uses: ocaml/setup-ocaml@v3
111+
with:
112+
ocaml-compiler: ${{ matrix.ocaml-compiler }}
113+
opam-repositories: |
114+
default: https://github.com/ocaml/opam-repository.git
115+
ox: https://github.com/oxcaml/opam-repository.git
116+
if: matrix.ocaml-compiler == 'ocaml-variants.5.2.0+ox'
101117

102118
- name: Set-up Binaryen
103119
uses: Aandreba/[email protected]

0 commit comments

Comments
 (0)