mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 08:02:38 +00:00
ci/AppVeyor: cover MinGW and MSVC in PRs (#8206)
This commit is contained in:
@@ -13,6 +13,11 @@ $nvimCmakeVars = @{
|
||||
BUSTED_OUTPUT_TYPE = 'nvim';
|
||||
}
|
||||
|
||||
# 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)$') {
|
||||
exit 0
|
||||
}
|
||||
|
||||
function exitIfFailed() {
|
||||
if ($LastExitCode -ne 0) {
|
||||
exit $LastExitCode
|
||||
@@ -20,10 +25,6 @@ function exitIfFailed() {
|
||||
}
|
||||
|
||||
if ($compiler -eq 'MINGW') {
|
||||
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $compileOption -ne 'gcov') {
|
||||
exit 0
|
||||
}
|
||||
|
||||
if ($bits -eq 32) {
|
||||
$arch = 'i686'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user