Appveyor: Generate helptags and build artifacts

Build the default CMake target now that helptag generation is
working again.

For build artifacts create a zip file with an instalation of
Neovim (generated by cpack).
This commit is contained in:
Rui Abreu Ferreira 2016-08-01 13:16:08 +01:00 committed by Rui Abreu Ferreira
parent e30b2c2054
commit 6348864e29
2 changed files with 6 additions and 13 deletions

View File

@ -13,9 +13,7 @@ set PATH=C:\msys64\mingw%BITS%\bin;C:\Windows\System32;C:\Windows;%PATH%
mkdir build mkdir build
cd build cd build
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release .. || goto :error cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release .. || goto :error
:: FIXME(equalsraf): for now just build nvim and copy DLLs. mingw32-make VERBOSE=1 || goto :error
:: We can't generate the helptags just yet (#810 fixes this)
mingw32-make nvim_dll_deps VERBOSE=1 || goto :error
bin\nvim --version || goto :error bin\nvim --version || goto :error
cd .. cd ..

View File

@ -14,14 +14,9 @@ install: []
build_script: build_script:
- if defined BUILD_DEPS_SCRIPT call %BUILD_DEPS_SCRIPT% - if defined BUILD_DEPS_SCRIPT call %BUILD_DEPS_SCRIPT%
- call %BUILD_SCRIPT% - call %BUILD_SCRIPT%
# FIXME(equalsraf): don't generate artifacts until the
# build script builds the main target, for now pack bin/
artifacts:
- path: build/bin
# Build artifacts # Build artifacts
#- cd build - cd build
#- '"%CPACK%" -G NSIS -C Release' - '"%CPACK%" -G NSIS -C Release'
#- '"%CPACK%" -G ZIP -C Release' - '"%CPACK%" -G ZIP -C Release'
#artifacts: artifacts:
#- path: build/Neovim.zip - path: build/Neovim.zip
#- path: build/Neovim.exe