58
58
separate_compilation : false
59
59
jane_street_tests : true
60
60
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
61
67
62
68
runs-on : ${{ matrix.os }}
63
69
@@ -82,13 +88,20 @@ jobs:
82
88
path : wasm_of_ocaml
83
89
84
90
- name : Checkout Jane Street opam repository
85
- if : matrix.jane_street_tests
91
+ if : matrix.jane_street_tests && matrix.ocaml-compiler != 'ocaml-variants.5.2.0+ox'
86
92
uses : actions/checkout@v5
87
93
with :
88
94
repository : janestreet/opam-repository
89
95
ref : 2819773f29b6f6c14b918eae3cb40c8ff6b22d0e
90
96
path : janestreet/opam-repository
91
97
98
+ - name : Checkout OxCaml opam repository
99
+ if : matrix.jane_street_tests && matrix.ocaml-compiler == 'ocaml-variants.5.2.0+ox'
100
+ uses : actions/checkout@v5
101
+ with :
102
+ repository : oxcaml/opam-repository
103
+ path : janestreet/opam-repository
104
+
92
105
- name : Set-up Node.js
93
106
uses : actions/setup-node@v5
94
107
with :
@@ -98,6 +111,16 @@ jobs:
98
111
uses : ocaml/setup-ocaml@v3
99
112
with :
100
113
ocaml-compiler : ${{ matrix.ocaml-compiler }}
114
+ if : matrix.ocaml-compiler != 'ocaml-variants.5.2.0+ox'
115
+
116
+ - name : Set-up OxCaml ${{ matrix.ocaml-compiler }}
117
+ uses : ocaml/setup-ocaml@v3
118
+ with :
119
+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
120
+ opam-repositories : |
121
+ default: https://github.com/ocaml/opam-repository.git
122
+ ox: https://github.com/oxcaml/opam-repository.git
123
+ if : matrix.ocaml-compiler == 'ocaml-variants.5.2.0+ox'
101
124
102
125
- name : Set-up Binaryen
103
126
uses : Aandreba/setup-binaryen@v1.0.0
@@ -116,14 +139,17 @@ jobs:
116
139
117
140
- name : Pin wasm_of_ocaml
118
141
working-directory : ./wasm_of_ocaml
119
- run : opam pin . -n --with-version dev
142
+ run : opam pin . -n --with-version 6.0.1+ox
143
+
144
+ - name : Pin ppxlib
145
+ run : opam pin add ppxlib -n 0.35.0
146
+ if : matrix.ocaml-compiler != 'ocaml-variants.5.2.0+ox'
120
147
121
148
- name : Checkout Jane Street packages
122
149
if : matrix.jane_street_tests
123
150
run : |
124
151
opam repo add js janestreet/opam-repository
125
152
opam install opam-format
126
- opam pin add ppxlib -n 0.35.0
127
153
opam exec -- dune exec --root wasm_of_ocaml tools/ci_setup.exe
128
154
129
155
- name : Pin Jane Street packages
0 commit comments