mirror of
https://github.com/imjasonh/krust
synced 2026-07-20 21:29:36 +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:
parent
bb76a120c3
commit
3366c5b69d
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -25,10 +25,10 @@ jobs:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
targets: x86_64-unknown-linux-musl,aarch64-unknown-linux-musl
|
targets: x86_64-unknown-linux-musl,aarch64-unknown-linux-musl
|
||||||
components: rustfmt,clippy
|
components: rustfmt,clippy
|
||||||
- name: Install cargo-zigbuild and zig
|
- name: Install zig
|
||||||
run: |
|
run: pip install ziglang
|
||||||
sudo snap install zig --classic --beta || sudo apt-get update && sudo apt-get install -y ziglang
|
- name: Install cargo-zigbuild
|
||||||
cargo install cargo-zigbuild
|
run: cargo install cargo-zigbuild
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4
|
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue