mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
ci: Add a VS2017 job
Thanks to Xavier Claessens for figuring out what is needed.
This commit is contained in:
parent
bbcce75d4e
commit
e7259c52ba
@ -43,6 +43,17 @@ msys2-mingw32:
|
||||
paths:
|
||||
- _coverage/
|
||||
|
||||
vs2017-x64:
|
||||
stage: build
|
||||
tags:
|
||||
- win32
|
||||
script:
|
||||
- .gitlab-ci/test-msvc.bat
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
- _build/meson-logs
|
||||
|
||||
coverage:
|
||||
stage: coverage
|
||||
artifacts:
|
||||
|
17
.gitlab-ci/test-msvc.bat
Normal file
17
.gitlab-ci/test-msvc.bat
Normal file
@ -0,0 +1,17 @@
|
||||
@echo on
|
||||
:: vcvarsall.bat sets various env vars like PATH, INCLUDE, LIB, LIBPATH for the
|
||||
:: specified build architecture
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
@echo on
|
||||
|
||||
:: FIXME: make warnings fatal
|
||||
meson _build || goto :error
|
||||
ninja -C _build || goto :error
|
||||
|
||||
meson test -C _build --timeout-multiplier 4 || goto :error
|
||||
|
||||
:: FIXME: can we get code coverage support?
|
||||
|
||||
goto :EOF
|
||||
:error
|
||||
exit /b 1
|
Loading…
Reference in New Issue
Block a user