mirror of
https://github.com/FranP-code/TurboRun.git
synced 2025-10-13 00:14:01 +00:00
added windows build docker
This commit is contained in:
13
build/build.sh
Normal file
13
build/build.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
if [ "$1" = "macos-arm" ]; then
|
||||
rustup target add aarch64-apple-darwin
|
||||
cargo build --release --target=aarch64-apple-darwin
|
||||
elif [ "$1" = "linux" ]; then
|
||||
cd /usr/src
|
||||
rustup target add x86_64-unknown-linux-gnu
|
||||
cargo build --release --target=x86_64-unknown-linux-gnu
|
||||
elif [ "$1" = "windows" ]; then
|
||||
cd /usr/src
|
||||
rustup target add x86_64-pc-windows-gnu
|
||||
rustup toolchain install stable-x86_64-pc-windows-gnu
|
||||
cargo build --release --target=x86_64-pc-windows-gnu
|
||||
fi
|
||||
Reference in New Issue
Block a user