We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eb3dd8 commit dd5451aCopy full SHA for dd5451a
1 file changed
.github/workflows/release.yml
@@ -41,16 +41,18 @@ jobs:
41
with:
42
key: ${{ matrix.target }}
43
44
- - name: Install cross
+ - name: Install cargo-zigbuild and Zig
45
if: matrix.platform == 'linux'
46
- run: cargo install cross --git https://github.com/cross-rs/cross
+ run: |
47
+ pip3 install ziglang
48
+ cargo install cargo-zigbuild
49
50
- name: Set version from tag
51
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_ENV"
52
- - name: Build (cross, Linux musl)
53
+ - name: Build (zigbuild, Linux musl)
54
- run: cross build --release --target ${{ matrix.target }}
55
+ run: cargo zigbuild --release --target ${{ matrix.target }}
56
57
- name: Build (native, macOS)
58
if: matrix.platform == 'darwin'
0 commit comments