aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-16 20:13:31 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-16 20:13:31 +0200
commitbfbc1a787266833d7bebf0b48ac62a526a864034 (patch)
tree594cc6c4ec1ff3898d48e90697854995759169ea
parenta9bea8c1047f40c5efd76cdaf1dd3517b71166fa (diff)
downloadrneovim-bfbc1a787266833d7bebf0b48ac62a526a864034.tar.gz
rneovim-bfbc1a787266833d7bebf0b48ac62a526a864034.tar.bz2
rneovim-bfbc1a787266833d7bebf0b48ac62a526a864034.zip
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.
-rw-r--r--appveyor.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 756c7fea2e..becb8cf090 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -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'))