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