[gnome-text-editor] gitlab-ci: stub out msvc builder
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] gitlab-ci: stub out msvc builder
- Date: Thu, 3 Feb 2022 05:25:51 +0000 (UTC)
commit 591a34bf3d0f4cc85ab034b2830e11716f7f3aae
Author: Christian Hergert <chergert redhat com>
Date: Wed Feb 2 21:25:45 2022 -0800
gitlab-ci: stub out msvc builder
.gitlab-ci.yml | 14 ++++++++++++++
.gitlab-ci/test-msvc.bat | 14 ++++++++++++++
2 files changed, 28 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2fae938..f4764aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -85,3 +85,17 @@ macos:
when: always
paths:
- "${CI_PROJECT_DIR}/_build/meson-logs"
+
+vs2017-x64:
+ extends: .only-default
+ only:
+ - branches@GNOME/gnome-text-editor
+ tags:
+ - win32-ps
+ needs: []
+ script:
+ - .gitlab-ci/test-msvc.bat
+ artifacts:
+ when: always
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
diff --git a/.gitlab-ci/test-msvc.bat b/.gitlab-ci/test-msvc.bat
new file mode 100644
index 0000000..81cb547
--- /dev/null
+++ b/.gitlab-ci/test-msvc.bat
@@ -0,0 +1,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.59.4 || goto :error
+meson -Dwerror=false _build || goto :error
+ninja -C _build || goto :error
+
+goto :EOF
+:error
+exit /b 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]