Skip to content

Commit

Permalink
ci: fix setup for windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Oct 13, 2023
1 parent da0ff57 commit 7e4d1fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
CARGO_CMD=cargo
CARGO_BUILD_TARGET="${{ matrix.arch }}-apple-darwin"
rustup target add $CARGO_BUILD_TARGET
elif [ "${{ matrix.os }}" = "windows-latest" ]; then
CARGO_CMD=cargo
CARGO_BUILD_TARGET="${{ matrix.arch }}-pc-windows-msvc"
rustup target add $CARGO_BUILD_TARGET
else
if [ "${{ matrix.arch }}" = "aarch64" ]; then
CARGO_CMD=cross
Expand Down

0 comments on commit 7e4d1fe

Please sign in to comment.