From afefa82f47bdec111171c8646de8fcae6d8de2fa Mon Sep 17 00:00:00 2001 From: Brooks J Rady Date: Mon, 26 Apr 2021 23:33:53 +0100 Subject: [PATCH] fix(ci): fix cross compiliation --- Makefile.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 83cdcb85..a8674259 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -95,10 +95,14 @@ end # CI Releasing Zellij [tasks.ci-build-release] workspace = false -dependencies = ["build-plugins-release", "wasm-opt-plugins", "build-release"] -command = "cargo" +dependencies = ["setup-cross-compilation", "build-plugins-release", "wasm-opt-plugins"] +command = "cross" args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"] +[tasks.setup-cross-compilation] +command = "cargo" +args = ["install", "cross"] + # Publishing Zellij [tasks.publish] clear = true