Skip to content

Commit dba979a

Browse files
committed
fix(ci): install cargo-zigbuild on Linux CI runners
mise.toml restricts cargo-zigbuild to macOS only. Explicitly install it in the publish workflow so cross-compilation works on ubuntu-latest. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
1 parent 78fa5d0 commit dba979a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
rustup target add x86_64-unknown-linux-gnu
3636
rustup target add aarch64-unknown-linux-gnu
3737
38+
- name: Install cargo-zigbuild
39+
run: cargo install cargo-zigbuild
40+
3841
- name: Cache Rust target and registry
3942
uses: Swatinem/rust-cache@v2
4043
with:
@@ -118,6 +121,9 @@ jobs:
118121
rustup target add x86_64-unknown-linux-gnu
119122
rustup target add aarch64-unknown-linux-gnu
120123
124+
- name: Install cargo-zigbuild
125+
run: cargo install cargo-zigbuild
126+
121127
- name: Cache Rust target and registry
122128
uses: Swatinem/rust-cache@v2
123129
with:

0 commit comments

Comments
 (0)