Skip to content

Commit

Permalink
CI clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Nov 28, 2023
1 parent e617955 commit e5c2b7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,23 @@ jobs:
run: |
opam pin add -n dune.3.13 https://github.com/ocaml-wasm/dune.git#wasm
- name: Pin wasm_of_ocaml
working-directory: ./wasm_of_ocaml
run: |
for i in *.opam; do opam pin add -n `basename $i .opam`.`< VERSION` .; done
- name: Install opam file parser
run: opam install opam-format ocamlfind
run: opam install opam-format ocamlfind dune graphics

- name: Checkout Jane Street packages
run: opam exec -- ocaml wasm_of_ocaml/tools/ci_setup.ml

- name: Update dune and test dependencies
run: opam install dune num cohttp-lwt-unix graphics ppx_expect zarith.1.12
- name: Update test dependencies
run: opam install num cohttp-lwt-unix ppx_expect

- name: Build wasm_of_ocaml
- name: Install wasm_of_ocaml
working-directory: ./wasm_of_ocaml
run: |
for i in *.opam; do opam pin add -n `basename $i .opam`.`< VERSION` .; done
opam install `basename -s .opam *.opam`
run: opam install `basename -s .opam *.opam`

- name: Run tests
working-directory: ./wasm_of_ocaml
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.0
5.3.0-wasm

0 comments on commit e5c2b7b

Please sign in to comment.