diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2023-04-28 12:17:06 +0800 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-05-03 23:40:00 +0000 |
commit | 85fb475083f14b6cef1a28d1f3a5547c534668cf (patch) | |
tree | abd2f7da895c6bcaaafedb18bafb0974e14a1663 /.gitlab-ci.yml | |
parent | b0815ab138899c00fa9a81c4bb7e10f4e7eb25f2 (diff) | |
download | librsvg-85fb475083f14b6cef1a28d1f3a5547c534668cf.tar.gz |
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: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/826>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 15 insertions, 0 deletions
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: |