diff options
author | Loïc Le Page <llepage@fluendo.com> | 2022-01-14 17:01:16 +0100 |
---|---|---|
committer | Loic Le Page <llepage@fluendo.com> | 2022-01-26 12:07:46 +0100 |
commit | 097cd3a16bdd34dce195a3f42e9168a8f540b98f (patch) | |
tree | 3af19ceafc052c343ba5f7deeb8c770ea63d8b14 /.gitlab-ci | |
parent | 42c77c7ac7c19461775b5210d88e8dcfa52c2d5c (diff) | |
download | glib-097cd3a16bdd34dce195a3f42e9168a8f540b98f.tar.gz |
Add Windows native static build using msvc to CI
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/test-msvc.bat | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci/test-msvc.bat b/.gitlab-ci/test-msvc.bat index aeb09664f..1a6924bd2 100644 --- a/.gitlab-ci/test-msvc.bat +++ b/.gitlab-ci/test-msvc.bat @@ -2,11 +2,18 @@ :: 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 + +:: Remove quotes from script args +setlocal enabledelayedexpansion +set args= +for %%x in (%*) do ( + set args=!args! %%~x +) +set args=%args:~1% :: FIXME: make warnings fatal pip3 install --upgrade --user meson==0.52.0 || goto :error -meson _build || goto :error +meson %args% _build || goto :error ninja -C _build || goto :error :: FIXME: dont ignore test errors |