mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
79af48791a
This makes the tests build under VS2015/2017. Since some of them fail, similar to the mingw build, ignore any test errors for now.
19 lines
508 B
Batchfile
19 lines
508 B
Batchfile
@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
|
|
|
|
:: FIXME: dont ignore test errors
|
|
meson test -C _build --timeout-multiplier %MESON_TEST_TIMEOUT_MULTIPLIER%
|
|
|
|
:: FIXME: can we get code coverage support?
|
|
|
|
goto :EOF
|
|
:error
|
|
exit /b 1
|