veloren/.gitlab/scripts/windows-x86_64.sh
Marcel Märtens 9787f0be1e update cache image for ci, rename linux to linux-x86_64
todo: adjust airshipper before merging this
2022-02-15 01:01:20 +01:00

6 lines
337 B
Bash
Executable File

#!/bin/bash
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
export VELOREN_USERDATA_STRATEGY=executable
time cargo build --target=x86_64-pc-windows-gnu --release --no-default-features --features default-publish