ci: Run installed tests when running the dist job
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3973>
This commit is contained in:
parent
4fe6a5fad9
commit
39ba9c4c65
1 changed files with 35 additions and 1 deletions
|
@ -96,7 +96,7 @@ variables:
|
|||
- .skip-git-clone
|
||||
variables:
|
||||
FDO_DISTRIBUTION_VERSION: 40
|
||||
BASE_TAG: '2024-08-15.1'
|
||||
BASE_TAG: '2024-08-22.0'
|
||||
MUTTER_USER: 'meta-user'
|
||||
FDO_DISTRIBUTION_PACKAGES:
|
||||
asciidoc
|
||||
|
@ -113,6 +113,7 @@ variables:
|
|||
busybox
|
||||
zenity
|
||||
python3-dbusmock
|
||||
gnome-desktop-testing
|
||||
"pkgconfig(libgcrypt)"
|
||||
"pkgconfig(libdisplay-info)"
|
||||
|
||||
|
@ -741,6 +742,39 @@ dist-mutter:
|
|||
- if: '$CI_MERGE_REQUEST_ASSIGNEES == "marge-bot"'
|
||||
when: on_success
|
||||
|
||||
installed-tests-mutter@x86_64:
|
||||
extends:
|
||||
- .fdo.distribution-image@fedora
|
||||
- .mutter.fedora@x86_64
|
||||
- .build-mutter-base
|
||||
- .test-setup
|
||||
stage: deploy
|
||||
needs:
|
||||
- build-mutter@x86_64
|
||||
script:
|
||||
- meson install -C build --no-rebuild
|
||||
- mkdir -m 1777 /tmp/.X11-unix
|
||||
- mkdir installed-tests-logs
|
||||
- gnome-desktop-testing-runner -L installed-tests-logs mutter
|
||||
artifacts:
|
||||
expire_in: 7 day
|
||||
name: "mutter-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||
when: always
|
||||
paths:
|
||||
- installed-tests-logs
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
|
||||
when: manual
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
changes:
|
||||
- "**/meson.build"
|
||||
- meson/*
|
||||
when: on_success
|
||||
- if: '$GITLAB_USER_LOGIN == "marge-bot"'
|
||||
when: on_success
|
||||
- if: '$CI_MERGE_REQUEST_ASSIGNEES == "marge-bot"'
|
||||
when: on_success
|
||||
|
||||
dist-mutter-tarball:
|
||||
extends: dist-mutter
|
||||
needs:
|
||||
|
|
Loading…
Reference in a new issue