CI/AppVeyor: do skip-logic earlier #9854

This commit is contained in:
Justin M. Keyes 2019-04-07 14:43:50 +02:00 committed by GitHub
parent a7a56293aa
commit c5e8924f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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