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:
|
|
|
|
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-15 19:41:17 -04:00
|
|
|
MALLOC_CHECK_: "3"
|
2019-05-20 12:40:34 -04:00
|
|
|
NO_AT_BRIDGE: "1"
|
2018-08-17 08:15:29 -04:00
|
|
|
script:
|
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
|
|
|
- >
|
2019-05-15 19:41:17 -04:00
|
|
|
env MALLOC_PERTURB_="$((RANDOM % 256 + 1))"
|
2019-01-23 07:28:38 -05:00
|
|
|
dbus-run-session -- xvfb-run -s '+iglx -noreset'
|
|
|
|
meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --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-04-23 11:33:43 -04:00
|
|
|
- meson gnome-shell gnome-shell/build --prefix /usr
|
2019-04-22 13:54:11 -04:00
|
|
|
- ninja -C gnome-shell/build install
|
|
|
|
only:
|
|
|
|
- merge_requests
|
|
|
|
- /^.*$/
|