Skip to content

Commit

Permalink
CI/AppVeyor: skip MSVC_32 for non-PR builds [skip travis] neovim#10786
Browse files Browse the repository at this point in the history
It was run for the PR already, and we can save the ~25min it takes with
merged PRs then - given that there is only one parallel job on AppVeyor
this should help to reduce the queue size.
  • Loading branch information
blueyed authored and justinmk committed Aug 16, 2019
1 parent a9bea8c commit bfbc1a7
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ configuration:
init:
- ps: |
# Pull requests: skip some build configurations to save time.
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32)$') {
$env:APPVEYOR_CACHE_SKIP_SAVE = "true"
Exit-AppVeyorBuild
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
if ($env:CONFIGURATION -match '^(MSVC_64|MINGW_32)$') {
$env:APPVEYOR_CACHE_SKIP_SAVE = "true"
Exit-AppVeyorBuild
}
} else {
# Non-PRs: skip MSVC_32 run for PRs already.
if ($env:CONFIGURATION -match '^(MSVC_32)$') {
$env:APPVEYOR_CACHE_SKIP_SAVE = "true"
Exit-AppVeyorBuild
}
}
# RDP
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
Expand Down

0 comments on commit bfbc1a7

Please sign in to comment.