Skip to content

Commit 462232d

Browse files
committed
ci: try zigbuild
1 parent ad879ab commit 462232d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ jobs:
122122
echo 'RUSTFLAGS=-Ctarget-feature=+crt-static' >> "$GITHUB_ENV"
123123
124124
- if: runner.os == 'Linux'
125-
run: sudo apt-get update
125+
run: pipx install ziglang && pipx install cargo-zigbuild
126126
- if: contains(matrix.target, 'musl')
127-
run: sudo apt-get install -y musl musl-dev musl-tools aarch64-linux-musl-g++
127+
run: sudo apt-get update && sudo apt-get install -y musl musl-dev musl-tools
128128

129129
- uses: Swatinem/rust-cache@v2
130130

131131
- if: contains(matrix.target, 'aarch64-unknown-linux')
132-
run: cargo build -p bestool --profile dist --target ${{ matrix.target }} --features iti
132+
run: cargo zigbuild -p bestool --profile dist --target ${{ matrix.target }} --features iti
133133
- if: "!contains(matrix.target, 'aarch64-unknown-linux')"
134134
run: cargo build -p bestool --profile dist --target ${{ matrix.target }}
135135

0 commit comments

Comments
 (0)