From 3181e16e36d27b9aa949d0202d63a99f03eb572d Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Sun, 6 Aug 2023 14:53:47 +1000 Subject: [PATCH] Fix CI: Require ziglang < 0.11 (#1250) ziglang 0.11 causes link failure in our CI Signed-off-by: Jiahao XU --- justfile | 2 +- zigbuild-requirements.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 zigbuild-requirements.txt diff --git a/justfile b/justfile index 96ec99dc..1bdf106c 100644 --- a/justfile +++ b/justfile @@ -184,7 +184,7 @@ ci-apt-deps := if target == "x86_64-unknown-linux-gnu" { "liblzma-dev libzip-dev [linux] ci-install-deps: if [ -n "{{ci-apt-deps}}" ]; then sudo apt update && sudo apt install -y --no-install-recommends {{ci-apt-deps}}; fi - if [ -n "{{use-cargo-zigbuild}}" ]; then pip3 install cargo-zigbuild; fi + if [ -n "{{use-cargo-zigbuild}}" ]; then pip3 install -r zigbuild-requirements.txt; fi [macos] [windows] diff --git a/zigbuild-requirements.txt b/zigbuild-requirements.txt new file mode 100644 index 00000000..41ba0c5e --- /dev/null +++ b/zigbuild-requirements.txt @@ -0,0 +1,5 @@ +###### Requirements without Version Specifiers ###### +cargo-zigbuild + +###### Requirements with Version Specifiers ###### +ziglang < 0.11 # zig 0.11 causes link failure in our CI