From cd3518917c071b3a411d19d49f24ccba93e3c03a Mon Sep 17 00:00:00 2001 From: Romain Calascibetta Date: Sat, 7 Jan 2023 13:57:48 +0100 Subject: [PATCH] Use dune -x instead of a rule to compile the cosmopolitan example --- .github/workflows/esperanto.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/esperanto.yml b/.github/workflows/esperanto.yml index a36048f98..bf192b435 100644 --- a/.github/workflows/esperanto.yml +++ b/.github/workflows/esperanto.yml @@ -27,7 +27,7 @@ jobs: run: opam install opam-monorepo - name: Add opam-monorepo overlays run: opam repo add dune-universe git+https://github.com/dune-universe/opam-overlays.git - - name: Example with LWT & Esperanto + - name: Example with lwt & esperanto run: | mkdir esperanto-example cd esperanto-example @@ -70,13 +70,6 @@ jobs: (executable (name cat) (libraries lwt.unix)) - - (rule - (target cat.com) - (enabled_if (= %{context_name} esperanto)) - (mode promote) - (deps cat.exe) - (action (run objcopy -S -O binary %{deps} %{target}))) EOF cat >cat.opam <