From 11d31c989c63fc86fd7c4b2685045f771833ce0d Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 15 Jul 2019 13:16:55 -0700 Subject: [PATCH] Only run 1 job on appveyor when a PR is opened. --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 78dff572..f4c618e7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,6 +13,9 @@ environment: # Install Rust and Cargo install: + # Since rust-lang-libs is currently sharing 1 builder, only run 1 job when a + # PR is opened. Merges to master or tags will run all jobs. + - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -gt 0 -and ($env:TARGET -ne "x86_64-pc-windows-msvc" -or $env:RUST_CHANNEL -ne "stable") ) {Exit-AppveyorBuild} - ps: >- If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') { $Env:PATH += ';C:\msys64\mingw64\bin'