Skip to content

Commit 00b78c7

Browse files
committed
Test that cargo-zigbuild works in CI
1 parent 4c06245 commit 00b78c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,14 @@ jobs:
4040
rustup target add aarch64-apple-ios
4141
cross build --target aarch64-apple-ios
4242
if: matrix.os == 'macos-latest'
43+
44+
- name: setup zig for cargo-zigbuild (on macOS)
45+
uses: mlugg/setup-zig@v1
46+
if: matrix.os == 'macos-latest'
47+
48+
- name: run cargo-zigbuild for Linux (on macOS)
49+
run: |
50+
cargo install --locked cargo-zigbuild
51+
rustup target add aarch64-unknown-linux-gnu
52+
cargo zigbuild --target aarch64-unknown-linux-gnu
53+
if: matrix.os == 'macos-latest'

0 commit comments

Comments
 (0)