Skip to content

Commit

Permalink
try building in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mgree committed Dec 19, 2023
1 parent b0e1ac9 commit 3d74b5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ocaml/dune
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@

(rule
(alias runtest)
(deps (glob_files ../test/tests/*) (glob_files ../test/pash_tests/*) rt.sh %{bin:json_to_shell} %{bin:shell_to_json})
(deps (glob_files ../test/tests/*) (glob_files ../test/pash_tests/*)
../test/round_trip.sh rt.sh %{bin:json_to_shell} %{bin:shell_to_json})
(action
(setenv
JSON_TO_SHELL %{bin:json_to_shell}
(setenv
SHELL_TO_JSON %{bin:shell_to_json}
(bash "{ find ../test/tests ../test/pash_tests -type f | while read f; do ../test/round_trip.sh ./rt.sh \"$f\"; done | egrep '^[A-Z0-9_]+:' | cut -d ':' -f 1 | sort | uniq -c | grep ':' ; } && echo FAILED && exit 1 || exit 0")))))
(bash "{ find ../test/tests ../test/pash_tests -type f | while read f; do ../test/round_trip.sh ./rt.sh \"$f\"; done | egrep '^[A-Z0-9_]+:' | cut -d ':' -f 1 | sort | uniq -c | grep ':' ; } && echo FAILED && exit 1 || { echo OK; exit 0; }")))))

0 comments on commit 3d74b5e

Please sign in to comment.