mirror of
https://github.com/imjasonh/krust
synced 2026-07-08 14:55:35 +00:00
Fix CI: symlink python-zig to zig for cargo-zigbuild
The ziglang pip package installs as python-zig, not zig. cargo-zigbuild needs zig in PATH, so create a symlink. https://claude.ai/code/session_01EcsZDNeWn56wFqryb4Wq7r
This commit is contained in:
parent
a4b822b004
commit
eb296df008
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -48,6 +48,9 @@ jobs:
|
|||
- name: Install zig and cargo-zigbuild
|
||||
run: |
|
||||
pip install --break-system-packages ziglang
|
||||
# ziglang pip package installs as python-zig, symlink to zig for cargo-zigbuild
|
||||
sudo ln -sf "$(which python-zig)" /usr/local/bin/zig
|
||||
zig version
|
||||
command -v cargo-zigbuild || cargo install cargo-zigbuild
|
||||
|
||||
- run: make check-fmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue