summaryrefslogtreecommitdiffstats
path: root/Makefile.toml
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 /Makefile.toml
parent1dc49b5e58cb83623a5d58b03d397e0a259b8dd9 (diff)
fix(ci): fix cross compiliation
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.toml b/Makefile.toml
index 83cdcb854..a86742597 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