diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-04-07 14:43:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-07 14:43:50 +0200 |
commit | c5e8924f4e72f46679cff52ac075e3eb023883d5 (patch) | |
tree | eeaa8bd7fb43b119392d4039d07393c495634c56 | |
parent | a7a56293aad9427720fc72b86220dd65a79f6778 (diff) | |
download | rneovim-c5e8924f4e72f46679cff52ac075e3eb023883d5.tar.gz rneovim-c5e8924f4e72f46679cff52ac075e3eb023883d5.tar.bz2 rneovim-c5e8924f4e72f46679cff52ac075e3eb023883d5.zip |
CI/AppVeyor: do skip-logic earlier #9854
-rw-r--r-- | appveyor.yml | 7 | ||||
-rw-r--r-- | ci/build.ps1 | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml index 8cf22e0709..23d3a2649a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,6 +8,13 @@ configuration: - MINGW_64 - MINGW_32 - MINGW_64-gcov +init: +- ps: | + # For pull requests, skip some build configurations to save time. + if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32|MINGW_64-gcov)$') { + $env:APPVEYOR_CACHE_SKIP_SAVE = "true" + Exit-AppVeyorBuild + } matrix: allow_failures: - configuration: MINGW_64-gcov diff --git a/ci/build.ps1 b/ci/build.ps1 index 88eb02a3f4..cd470439f0 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -18,11 +18,6 @@ $nvimCmakeVars = @{ } $uploadToCodeCov = $false -# For pull requests, skip some build configurations to save time. -if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32|MINGW_64-gcov)$') { - exit 0 -} - function exitIfFailed() { if ($LastExitCode -ne 0) { Set-PSDebug -Off |