summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml45
1 files changed, 30 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7c8eec3..585d5e95 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,23 +3,38 @@ image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/base:latest
stages:
- build
-before_script:
- - >
- dnf install -y \
- gcc \
- gcc-c++ \
- meson \
- redhat-rpm-config \
- glib2-devel \
- harfbuzz-devel \
- fribidi-devel \
- cairo-devel \
- gobject-introspection-devel \
- cairo-gobject-devel \
- abattis-cantarell-fonts
-
build-pango:
stage: build
+ before_script:
+ - >
+ dnf install -y \
+ gcc \
+ gcc-c++ \
+ meson \
+ redhat-rpm-config \
+ glib2-devel \
+ harfbuzz-devel \
+ fribidi-devel \
+ cairo-devel \
+ gobject-introspection-devel \
+ cairo-gobject-devel \
+ abattis-cantarell-fonts
script:
- meson _build
- ninja -C _build dist
+
+msys2-mingw64:
+ stage: build
+ tags:
+ - win32
+ variables:
+ MSYSTEM: "MINGW64"
+ CHERE_INVOKING: "yes"
+ script:
+ - C:\msys64\usr\bin\pacman --noconfirm -Syyuu
+ - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
+ artifacts:
+ name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
+ when: always
+ paths:
+ - _build/meson-logs