summaryrefslogtreecommitdiff
path: root/.gitlab-ci/test-msvc.bat
blob: cf8d9b130cb2387bab6c6407a5e3d428682bd68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@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\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
@echo on

:: FIXME: make warnings fatal
pip3 install --upgrade --user meson==0.60.3 || goto :error
meson -Ddebug=false -Dmedia-gstreamer=disabled _build || goto :error
ninja -C _build || goto :error

goto :EOF
:error
exit /b 1