mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-25 03:04:29 +08:00
19851c9ad6
This adds a new CI job that runs on windows with MSVC. It currently builds softpipe and osmesa, and runs the related unit tests. It does rely on meson's wraps for zlib, but I've set up caching of the wrap dependencies so hopefully that wont be a problem. I really wanted to user powershell for this, but there just isn't an easy way to do that, it's much easier to use batch scripts, so thats what I used. The leading `/` for .gitlab-ci/lava... must be removed because windows doesn't understand it, and when it reads the file the job ends in error. Reviewed-by: Eric Engestrom <eric@engestrom.ch>
14 lines
363 B
Batchfile
14 lines
363 B
Batchfile
call "C:\Program Files (x86)\Microsoft Visual Studio\%VERSION%\Common7\Tools\VsDevCmd.bat" -arch=%ARCH%
|
|
|
|
del /Q /S _build
|
|
meson _build ^
|
|
-Dbuild-tests=true ^
|
|
-Db_vscrt=mtd ^
|
|
-Dbuildtype=release ^
|
|
-Dllvm=false ^
|
|
-Dgallium-drivers=swrast ^
|
|
-Dosmesa=gallium
|
|
meson configure _build
|
|
ninja -C _build
|
|
ninja -C _build test
|