Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Jan 15, 2025
1 parent a6edf03 commit 48b6ac7
Showing 1 changed file with 51 additions and 54 deletions.
105 changes: 51 additions & 54 deletions .github/workflows/build-wasm_of_ocaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 48b6ac7

Please sign in to comment.