Skip to content

Commit d75a381

Browse files
committed
chore(ci): Try to build with cargo on mac for now
1 parent 15f03dc commit d75a381

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-rust-binaries.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,8 @@ jobs:
7979
sudo apt-get install -y musl-tools pkg-config build-essential
8080
8181
- name: Build Rust Library (Cargo)
82-
run: cargo zigbuild -p yggdrasilffi --release --target ${{ matrix.target }};
82+
if: startsWith(matrix.os, 'macos')
83+
run: cargo build -p yggdrasilffi --release --target ${{ matrix.target }};
84+
- name: Build Rust Library (ZigBuild)
85+
if: !(startsWith(matrix.os, 'macos'))
86+
run: cargo zigbuild -p yggdrasilffi --release --target ${{ matrix.target }};

0 commit comments

Comments
 (0)