mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
8a8213f6d4
Maybe AppVeyor gets confused by the redundant entry? Anyway, build.ps1 generally does not affect the validity of the deps cache.
35 lines
957 B
YAML
35 lines
957 B
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"
|
|
image: Visual Studio 2017
|
|
configuration:
|
|
- MSVC_64
|
|
- MSVC_32
|
|
- 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
|
|
}
|
|
# RDP
|
|
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
matrix:
|
|
allow_failures:
|
|
- configuration: MINGW_64-gcov
|
|
install: []
|
|
before_build:
|
|
- ps: Install-Product node 8
|
|
build_script:
|
|
- powershell ci\build.ps1
|
|
cache:
|
|
- C:\projects\nvim-deps -> third-party\**
|
|
artifacts:
|
|
- path: build/Neovim.zip
|
|
- path: build/bin/nvim.exe
|