CI/AppVeyor: skip MSVC_32 for non-PR builds [skip travis] #10786
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.
This commit is contained in:
parent
a9bea8c104
commit
bfbc1a7872
14
appveyor.yml
14
appveyor.yml
|
@ -14,9 +14,17 @@ configuration:
|
||||||
init:
|
init:
|
||||||
- ps: |
|
- ps: |
|
||||||
# Pull requests: skip some build configurations to save time.
|
# Pull requests: skip some build configurations to save time.
|
||||||
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32)$') {
|
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
|
||||||
$env:APPVEYOR_CACHE_SKIP_SAVE = "true"
|
if ($env:CONFIGURATION -match '^(MSVC_64|MINGW_32)$') {
|
||||||
Exit-AppVeyorBuild
|
$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
|
# RDP
|
||||||
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||||
|
|
Loading…
Reference in New Issue