1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-08 23:05:41 +00:00

Fix CI: use pip install ziglang for reliable zig installation

The snap install was unreliable and the apt fallback used a
non-existent package name. pip install ziglang is the recommended
way to install zig in CI environments.

https://claude.ai/code/session_01EcsZDNeWn56wFqryb4Wq7r
This commit is contained in:
Claude 2026-03-17 20:46:44 +00:00
parent bb76a120c3
commit 3366c5b69d
No known key found for this signature in database

View file

@ -25,10 +25,10 @@ jobs:
toolchain: ${{ matrix.rust }}
targets: x86_64-unknown-linux-musl,aarch64-unknown-linux-musl
components: rustfmt,clippy
- name: Install cargo-zigbuild and zig
run: |
sudo snap install zig --classic --beta || sudo apt-get update && sudo apt-get install -y ziglang
cargo install cargo-zigbuild
- name: Install zig
run: pip install ziglang
- name: Install cargo-zigbuild
run: cargo install cargo-zigbuild
- name: Cache cargo registry
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4
with: