mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci: Collect coverage data for MINGW_64 builds on appveyor
This commit is contained in:
parent
e463cb6fa0
commit
e88fc35429
@ -2,6 +2,14 @@ version: '{build}'
|
|||||||
configuration:
|
configuration:
|
||||||
- MINGW_64
|
- MINGW_64
|
||||||
- MINGW_32
|
- MINGW_32
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- USE_GCOV: ON
|
||||||
|
- USE_GCOV: OFF
|
||||||
|
matrix:
|
||||||
|
exclude:
|
||||||
|
- configuration: MINGW_32
|
||||||
|
USE_GCOV: ON
|
||||||
install: []
|
install: []
|
||||||
build_script:
|
build_script:
|
||||||
- call ci\build.bat
|
- call ci\build.bat
|
||||||
|
@ -38,13 +38,17 @@ cd ..
|
|||||||
:: Build Neovim
|
:: Build Neovim
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUSTED_OUTPUT_TYPE=nvim -DGPERF_PRG="C:\msys64\usr\bin\gperf.exe" .. || goto :error
|
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUSTED_OUTPUT_TYPE=nvim -DUSE_GCOV="%USE_GCOV%" -DGPERF_PRG="C:\msys64\usr\bin\gperf.exe" .. || goto :error
|
||||||
mingw32-make VERBOSE=1 || goto :error
|
mingw32-make VERBOSE=1 || goto :error
|
||||||
bin\nvim --version || goto :error
|
bin\nvim --version || goto :error
|
||||||
|
|
||||||
:: Functional tests
|
:: Functional tests
|
||||||
mingw32-make functionaltest VERBOSE=1 || goto :error
|
mingw32-make functionaltest VERBOSE=1 || goto :error
|
||||||
|
|
||||||
|
if "%USE_GCOV%" == "ON" (
|
||||||
|
C:\msys64\usr\bin\bash -lc "cd /c/projects/neovim; bash <(curl -s https://codecov.io/bash) || echo 'codecov upload failed.'"
|
||||||
|
)
|
||||||
|
|
||||||
:: Build artifacts
|
:: Build artifacts
|
||||||
cpack -G ZIP -C RelWithDebInfo
|
cpack -G ZIP -C RelWithDebInfo
|
||||||
if defined APPVEYOR_REPO_TAG_NAME cpack -G NSIS -C RelWithDebInfo
|
if defined APPVEYOR_REPO_TAG_NAME cpack -G NSIS -C RelWithDebInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user