File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 echo "reason-react build melange_mini_stdlib.cmi candidates:"
6262 find "$RR_BUILD" -name "melange_mini_stdlib.cmi" -print || true
6363 - name : Rebuild packages for playground consistency
64- run : opam reinstall -y melange
64+ run : opam reinstall -y melange melange-playground reason-react reason-react-ppx
65+ - name : Clean dune state after reinstall
66+ run : opam exec -- dune clean
6567 - name : Verify CMI consistency for playground
6668 run : |
6769 set -euo pipefail
9597 echo "::error::reactDOM.cmi and js.cmi disagree on Melange_mini_stdlib digest"
9698 exit 1
9799 fi
100+ - name : Refresh vendored melange source
101+ run : |
102+ rm -rf melange
103+ opam source melange.$(opam show melange -f version --color never) --dir melange
104+ - name : Restrict vendored melange source to playground
105+ run : |
106+ set -euo pipefail
107+ perl -0pi -e 's/\(dirs[^\n]*\)/(dirs playground)/' melange/dune
108+ grep -n '^(dirs ' melange/dune
109+ - name : Build playground assets for consistency check
110+ run : opam exec -- dune build @playground-assets
98111 # only uncomment after a new version is released, from inside a `x.x.x-patches` branch
99112 # - name: Run canonical script
100113 # run: opam exec -- dune exec add_canonical docs/public/api
You can’t perform that action at this time.
0 commit comments