Skip to content

Commit 8325ffb

Browse files
fix
1 parent 8c11d48 commit 8325ffb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,19 @@ jobs:
6161
with:
6262
enable-cache: true
6363

64+
- name: Install Zig and cargo-zigbuild
65+
if: ${{ runner.os == 'Linux' && matrix.platform.target == 'aarch64' }}
66+
shell: bash
67+
run: |
68+
uv pip install ziglang
69+
cargo install cargo-zigbuild
70+
6471
- name: Build release binary
72+
id: build
6573
shell: bash
6674
run: |
6775
if [[ "${{ runner.os }}" == "Linux" && "${{ matrix.platform.target }}" == "aarch64" ]]; then
68-
uvx --with ziglang cargo-zigbuild --release --target ${{ steps.target.outputs.target }}
76+
cargo zigbuild --release --target ${{ steps.target.outputs.target }}
6977
else
7078
cargo build --verbose --release --target ${{ steps.target.outputs.target }}
7179
fi

0 commit comments

Comments
 (0)