mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 03:35:02 -07:00
ce9367c254
Revert commit bfbc1a7872
.
The nightly release job is failing:
https://travis-ci.org/neovim/bot-ci/builds/569687794
- We need the MSVC artifact on master so that our nightly job can publish it.
- Saving time on master is low-priority because most CI activity is from PRs.
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
version: '{build}'
|
|
environment:
|
|
APPVEYOR_CACHE_ENTRY_ZIP_ARGS: "-t7z -m0=lzma -mx=9"
|
|
DEPS_BUILD_DIR: "C:/projects/nvim-deps"
|
|
DEPS_PREFIX: "C:/projects/nvim-deps/usr"
|
|
# Silence/redirect errors due to missing locking support (via libgcov).
|
|
GCOV_ERROR_FILE: "$(TEMP)/libgcov-errors.log"
|
|
image: Visual Studio 2017
|
|
configuration:
|
|
- MINGW_64-gcov
|
|
- MINGW_32
|
|
- MSVC_64
|
|
- MSVC_32
|
|
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
|
|
}
|
|
# RDP
|
|
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
matrix:
|
|
fast_finish: true
|
|
install: []
|
|
before_build:
|
|
- ps: Install-Product node 8
|
|
build_script:
|
|
- powershell ci\build.ps1
|
|
after_build:
|
|
- ps: |
|
|
if (Test-Path $env:GCOV_ERROR_FILE) {
|
|
Get-Content $env:GCOV_ERROR_FILE -Head 10
|
|
Get-Content $env:GCOV_ERROR_FILE -Tail 10
|
|
} else {
|
|
write-host "no GCOV_ERROR_FILE"
|
|
}
|
|
cache:
|
|
- C:\projects\nvim-deps -> third-party\**
|
|
artifacts:
|
|
- path: build/Neovim.zip
|
|
- path: build/bin/nvim.exe
|
|
branches:
|
|
only:
|
|
- master
|