Only run 1 job on appveyor when a PR is opened.
This commit is contained in:
parent
e7c3d02c61
commit
11d31c989c
|
@ -13,6 +13,9 @@ environment:
|
||||||
|
|
||||||
# Install Rust and Cargo
|
# Install Rust and Cargo
|
||||||
install:
|
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: >-
|
- ps: >-
|
||||||
If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
|
If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
|
||||||
$Env:PATH += ';C:\msys64\mingw64\bin'
|
$Env:PATH += ';C:\msys64\mingw64\bin'
|
||||||
|
|
Loading…
Reference in New Issue