diff --git a/.github/workflows/build-wasm_of_ocaml.yml b/.github/workflows/build-wasm_of_ocaml.yml index 4a6cb49d40..74d302a0da 100644 --- a/.github/workflows/build-wasm_of_ocaml.yml +++ b/.github/workflows/build-wasm_of_ocaml.yml @@ -37,7 +37,7 @@ jobs: ocaml-compiler: "5.2" separate_compilation: true jane_street_tests: true - all_jane_street_tests: true + all_jane_street_tests: false - os: ubuntu-latest ocaml-compiler: "5.2" separate_compilation: true @@ -125,59 +125,56 @@ jobs: opam install . opam install num cohttp-lwt-unix ppx_expect cstruct uucp -# - name: Run tests -# if: ${{ matrix.separate_compilation }} -# working-directory: ./w -# run: opam exec -- dune build @runtest-wasm -# -# - name: Run tests with CPS effects -# if: ${{ matrix.ocaml-compiler >= '5.' && matrix.separate_compilation }} -# working-directory: ./w -# run: opam exec -- dune build @runtest-wasm --profile with-effects -# -# - name: Run Base tests -# if: matrix.all_jane_street_tests -# working-directory: ./j/lib/base -# run: opam exec -- dune runtest -# -# - name: Run Base bigstring tests -# # sandboxing issue -# if: ${{ matrix.all_jane_street_tests && matrix.os != 'windows-latest'}} -# working-directory: ./j/lib/base_bigstring -# run: opam exec -- dune runtest -# -# - name: Run Core tests -# # tests fails on windows -# if: ${{ matrix.all_jane_street_tests && matrix.os != 'windows-latest'}} -# working-directory: ./j/lib/core -# run: opam exec -- dune runtest -# -# - name: Run Bignum tests -# if: matrix.all_jane_street_tests -# working-directory: ./j/lib/bignum -# run: opam exec -- dune runtest -# -# - name: Run Bin_prot tests -# # tests fails on windows -# if: ${{ matrix.all_jane_street_tests && matrix.os != 'windows-latest'}} -# working-directory: ./j/lib/bin_prot -# run: opam exec -- dune runtest -# -# - name: Run String_dict tests -# if: matrix.all_jane_street_tests -# working-directory: ./j/lib/string_dict -# run: opam exec -- dune runtest -# -# - name: Run Zarith tests -# # sandboxing issue -# if: ${{ matrix.all_jane_street_tests && matrix.os != 'windows-latest'}} -# working-directory: ./j/lib/zarith_stubs_js -# run: opam exec -- dune runtest -# -# - name: Run Virtual_dom tests -# if: matrix.all_jane_street_tests -# working-directory: ./j/lib/virtual_dom -# run: opam exec -- dune runtest + - name: Run tests + if: ${{ matrix.separate_compilation }} + working-directory: ./w + run: opam exec -- dune build @runtest-wasm + + - name: Run tests with CPS effects + if: ${{ matrix.ocaml-compiler >= '5.' && matrix.separate_compilation }} + working-directory: ./w + run: opam exec -- dune build @runtest-wasm --profile with-effects + + - name: Run Base tests + if: ${{ matrix.all_jane_street_tests || matrix.os == 'windows-latest' }} + working-directory: ./j/lib/base + run: opam exec -- dune runtest + + - name: Run Base bigstring tests + if: matrix.all_jane_street_tests + working-directory: ./j/lib/base_bigstring + run: opam exec -- dune runtest + + - name: Run Core tests + if: matrix.all_jane_street_tests + working-directory: ./j/lib/core + run: opam exec -- dune runtest + + - name: Run Bignum tests + if: ${{ matrix.all_jane_street_tests || matrix.os == 'windows-latest' }} + working-directory: ./j/lib/bignum + run: opam exec -- dune runtest + + - name: Run Bin_prot tests + # tests fails on windows + if: matrix.all_jane_street_tests + working-directory: ./j/lib/bin_prot + run: opam exec -- dune runtest + + - name: Run String_dict tests + if: ${{ matrix.all_jane_street_tests || matrix.os == 'windows-latest' }} + working-directory: ./j/lib/string_dict + run: opam exec -- dune runtest + + - name: Run Zarith tests + if: matrix.all_jane_street_tests + working-directory: ./j/lib/zarith_stubs_js + run: opam exec -- dune runtest + + - name: Run Virtual_dom tests + if: matrix.all_jane_street_tests + working-directory: ./j/lib/virtual_dom + run: opam exec -- dune runtest - name: Run Bonsai tests if: matrix.all_jane_street_tests