X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=appveyor.yml;h=c852cd8232e1ef6582780d15c5506f6d38a53320;hb=6feed2713c7740eb5868eba43745bc508b8b77aa;hp=94f9500ab85f253205072422bd11d578b5b364fc;hpb=8e0de3d12046dd349e21e0cb09fd06b07d3230d9;p=rust.git diff --git a/appveyor.yml b/appveyor.yml index 94f9500ab85..c852cd8232e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,16 +7,24 @@ environment: #- TARGET: x86_64-pc-windows-gnu - TARGET: x86_64-pc-windows-msvc +branches: + # Don't build these branches + except: + # Used by bors + - trying.tmp + - staging.tmp + install: - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - # https://support.microsoft.com/en-us/help/2524009/error-running-command-shell-scripts-that-include-parentheses - - if defined GITHUB_TOKEN del rust-toolchain - - if defined GITHUB_TOKEN (cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed") - - if defined GITHUB_TOKEN rustup-toolchain-install-master -f -n master --github-token %GITHUB_TOKEN% - - if defined GITHUB_TOKEN rustup default master - - if defined GITHUB_TOKEN set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin + - git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}' >rustc-hash.txt + - set /p RUSTC_HASH=