Merge pull request #980 from ehuss/appveyor-one-job
Only run 1 job on appveyor when a PR is opened.
This commit is contained in:
commit
4932df2570
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue