aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrooks J Rady <b.j.rady@gmail.com>2021-04-26 23:33:53 +0100
committerBrooks J Rady <b.j.rady@gmail.com>2021-04-26 23:33:53 +0100
commitafefa82f47bdec111171c8646de8fcae6d8de2fa (patch)
tree44100ee417d2ae4d9f4092c63d00de917faa0064
parentfix(ci): add missing item to the build list (diff)
downloadsl0ppij-afefa82f47bdec111171c8646de8fcae6d8de2fa.tar.gz
sl0ppij-afefa82f47bdec111171c8646de8fcae6d8de2fa.tar.xz
sl0ppij-afefa82f47bdec111171c8646de8fcae6d8de2fa.zip
fix(ci): fix cross compiliation
-rw-r--r--Makefile.toml8
1 files 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