[gtk/ci-installed-tests: 5/5] ci: Add a build that runs installed tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ci-installed-tests: 5/5] ci: Add a build that runs installed tests
- Date: Sun, 2 Aug 2020 01:40:21 +0000 (UTC)
commit 63bea9856f6e9cd012cbdf2423606076c8a3cfbb
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 1 21:25:29 2020 -0400
ci: Add a build that runs installed tests
This will hopefully prevent regressions in
installed-tests.
.gitlab-ci.yml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7140994690..8a138d7e13 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -92,6 +92,29 @@ release-build:
- ninja -C _build
- .gitlab-ci/run-tests.sh _build x11
+installed-tests:
+ extends: .build-fedora-default
+ stage: build
+ needs: []
+ variables:
+ EXTRA_MESON_FLAGS: "--prefix=/usr --libdir=/usr/lib64 -Dinstall-tests=true"
+ script:
+ - meson ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} ${BACKEND_FLAGS} ${FEATURE_FLAGS}
+ _build
+ - ninja -C _build
+ - sudo ninja -C _build install
+ - mkdir -p _build/installed-tests-report/logs/
+ - dbus-run-session xvfb-run -a -s "-screen 0 1024x768x24"
+ gnome-desktop-testing-runner
+ --report-directory=_build/installed-tests-report/failed/
+ --log-directory=_build/installed-tests-report/logs/
+ --parallel=0
+ gtk
+ artifacts:
+ paths:
+ - "_build/installed-tests-report/"
+
+
.mingw-defaults:
stage: build
tags:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]