Skip to content

Commit 8e7c559

Browse files
committed
fix(CI): temporarily fix Windows build
1 parent c55099c commit 8e7c559

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ fi
3434
# Install rust compiler
3535
echo "Installing rust compiler"
3636
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.76
37-
. $HOME/.cargo/env
37+
if [[ "$OSTYPE" != "msys"* ]]; then # not Windows
38+
. $HOME/.cargo/env
39+
fi
3840
cargo install cbindgen
3941
# Setup Poetry
4042
echo "Installing poetry"

0 commit comments

Comments
 (0)