|
|
@ -50,6 +50,13 @@ dub_fetch dubtestproject |
|
|
|
dub build dubtestproject:test1 --compiler=ldc2 |
|
|
|
dub build dubtestproject:test1 --compiler=ldc2 |
|
|
|
dub build dubtestproject:test2 --compiler=ldc2 |
|
|
|
dub build dubtestproject:test2 --compiler=ldc2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove debian version of Rust and install latest with rustup. |
|
|
|
|
|
|
|
# This is needed to get the cross toolchain as well. |
|
|
|
|
|
|
|
apt-get -y remove rustc || true |
|
|
|
|
|
|
|
wget -O - https://sh.rustup.rs | sh -s -- -y --profile minimal --component clippy |
|
|
|
|
|
|
|
source "$HOME/.cargo/env" |
|
|
|
|
|
|
|
rustup target add x86_64-pc-windows-gnu |
|
|
|
|
|
|
|
|
|
|
|
# cleanup |
|
|
|
# cleanup |
|
|
|
apt-get -y clean |
|
|
|
apt-get -y clean |
|
|
|
apt-get -y autoclean |
|
|
|
apt-get -y autoclean |
|
|
|