2019-05-17 18:35:38 +00:00
|
|
|
image: registry.gitlab.gnome.org/gnome/mutter/master:v2
|
2018-06-14 19:01:35 +00:00
|
|
|
|
|
|
|
stages:
|
2019-02-05 17:19:43 +00:00
|
|
|
- review
|
2018-06-14 19:01:35 +00:00
|
|
|
- build
|
2018-08-17 12:15:29 +00:00
|
|
|
- test
|
2018-06-14 19:01:35 +00:00
|
|
|
|
2019-02-05 17:19:43 +00:00
|
|
|
check-commit-log:
|
|
|
|
stage: review
|
2019-04-24 10:24:12 +00:00
|
|
|
variables:
|
|
|
|
GIT_DEPTH: "100"
|
2019-02-05 17:19:43 +00:00
|
|
|
script:
|
|
|
|
- ./.gitlab-ci/check-commit-log.sh
|
|
|
|
only:
|
|
|
|
- merge_requests
|
|
|
|
|
2018-06-14 19:01:35 +00:00
|
|
|
build-mutter:
|
|
|
|
stage: build
|
|
|
|
script:
|
2019-04-23 15:33:43 +00:00
|
|
|
- meson . build -Dbuildtype=debugoptimized -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr
|
2018-06-14 19:01:35 +00:00
|
|
|
- ninja -C build
|
|
|
|
- ninja -C build install
|
2019-01-23 12:28:38 +00:00
|
|
|
artifacts:
|
|
|
|
expire_in: 1 day
|
|
|
|
paths:
|
|
|
|
- build
|
2019-02-05 17:19:43 +00:00
|
|
|
only:
|
|
|
|
- merge_requests
|
|
|
|
- /^.*$/
|
2018-08-17 12:15:29 +00:00
|
|
|
|
|
|
|
test-mutter:
|
|
|
|
stage: test
|
2019-01-23 12:28:38 +00:00
|
|
|
dependencies:
|
|
|
|
- build-mutter
|
2019-01-23 23:24:32 +00:00
|
|
|
variables:
|
|
|
|
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
|
|
|
|
GSETTINGS_SCHEMA_DIR: "$CI_PROJECT_DIR/build/data"
|
2019-05-16 22:06:04 +00:00
|
|
|
G_SLICE: "always-malloc"
|
2019-05-15 23:41:17 +00:00
|
|
|
MALLOC_CHECK_: "3"
|
2019-05-20 16:40:34 +00:00
|
|
|
NO_AT_BRIDGE: "1"
|
2019-05-24 07:18:34 +00:00
|
|
|
MALLOC_PERTURB_: "123"
|
2018-08-17 12:15:29 +00:00
|
|
|
script:
|
2019-05-24 06:48:23 +00:00
|
|
|
- dconf update
|
2019-01-23 23:24:32 +00:00
|
|
|
- mkdir -m 700 $XDG_RUNTIME_DIR
|
|
|
|
- glib-compile-schemas $GSETTINGS_SCHEMA_DIR
|
2019-01-23 12:28:38 +00:00
|
|
|
- >
|
|
|
|
dbus-run-session -- xvfb-run -s '+iglx -noreset'
|
2019-05-16 22:06:47 +00:00
|
|
|
meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --print-errorlogs --wrap catchsegv
|
2019-02-05 17:19:43 +00:00
|
|
|
only:
|
|
|
|
- merge_requests
|
|
|
|
- /^.*$/
|
2019-04-22 17:54:11 +00:00
|
|
|
|
|
|
|
can-build-gnome-shell:
|
|
|
|
stage: test
|
|
|
|
dependencies:
|
|
|
|
- build-mutter
|
|
|
|
before_script:
|
|
|
|
- meson install --no-rebuild -C build
|
|
|
|
script:
|
|
|
|
- .gitlab-ci/checkout-gnome-shell.sh
|
2019-04-23 15:33:43 +00:00
|
|
|
- meson gnome-shell gnome-shell/build --prefix /usr
|
2019-04-22 17:54:11 +00:00
|
|
|
- ninja -C gnome-shell/build install
|
|
|
|
only:
|
|
|
|
- merge_requests
|
|
|
|
- /^.*$/
|