Skip to content

Commit 4932df2

Browse files
authored
Merge pull request #980 from ehuss/appveyor-one-job
Only run 1 job on appveyor when a PR is opened.
2 parents e7c3d02 + 11d31c9 commit 4932df2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ environment:
1313

1414
# Install Rust and Cargo
1515
install:
16+
# Since rust-lang-libs is currently sharing 1 builder, only run 1 job when a
17+
# PR is opened. Merges to master or tags will run all jobs.
18+
- 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}
1619
- ps: >-
1720
If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
1821
$Env:PATH += ';C:\msys64\mingw64\bin'

0 commit comments

Comments
 (0)