File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,22 @@ jobs:
209209 if : runner.os == 'Windows'
210210 run : node scripts/ciTest.js -mocha -theme -format
211211
212+ # Build the playground compiler on our fastest runner (macOS ARM)
213+ - name : Install JSOO
214+ if : matrix.os == 'macos-arm'
215+ run : opam install js_of_ocaml.4.0.0
216+
217+ - name : Build playground compiler
218+ if : matrix.os == 'macos-arm'
219+ run : |
220+ opam exec -- node packages/playground-bundling/scripts/generate_cmijs.js
221+ opam exec -- dune build --profile browser
222+ cp ./_build/default/jscomp/jsoo/jsoo_playground_main.bc.js playground/compiler.js
223+
224+ - name : Test playground compiler
225+ if : matrix.os == 'macos-arm'
226+ run : node playground/playground_test.js
227+
212228 - name : Prepare artifact upload
213229 run : node .github/workflows/get_artifact_info.js
214230
You can’t perform that action at this time.
0 commit comments