From 85fb475083f14b6cef1a28d1f3a5547c534668cf Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 28 Apr 2023 12:17:06 +0800 Subject: Add CI for Visual Studio This is an initial stab at getting CI to work for Visual Studio builds, where currently we attempt to build Pango and Gdk-Pixbuf first, with pkg-config and libxml2 and FreeType standalone. Pango builds do not currently work with subprojects building with FreeType, due to [1] as FontConfig will be built anyways, so we build and install FreeType before we build Pango. After these, we will install Rust via rustup-init, and carry out the builds for librsvg. [1]: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/469 Part-of: --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ca895d9..add138ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -392,6 +392,21 @@ msys2-mingw64: - _build\tests\output expire_in: 1 day +vs2017-x64: + # TODO: Uncomment this when ready to merge. + # rules: + # - if: $CI_PROJECT_NAMESPACE == "GNOME" + stage: build + tags: + - win32-ps + needs: [] + script: + - ci/test-msvc.bat + artifacts: + when: always + paths: + - "${CI_PROJECT_DIR}/_build/meson-logs" + distcheck: stage: acceptance test extends: -- cgit v1.2.1