[gtk/ci-release] ci: Add a release build job
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ci-release] ci: Add a release build job
- Date: Tue, 14 Jan 2020 14:58:11 +0000 (UTC)
commit 37bd91bfa48044c275b1756ec46c41ae56597c0a
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Jan 14 14:56:03 2020 +0000
ci: Add a release build job
The release buildtype disables various code paths, and thus should be
tested to ensure we don't accidentally rely on side effects of debugging
code.
.gitlab-ci.yml | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 84d250a1b1..6e40e73c0a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,11 +12,7 @@ stages:
- subprojects/libepoxy/
- subprojects/pango/
-fedora-x86_64: &fedora-x86_64-defaults
- image: registry.gitlab.gnome.org/gnome/gtk/master:v8
- stage: build
- script:
- - bash -x ./.gitlab-ci/test-docker.sh
+.build-artifacts:
artifacts:
when: always
reports:
@@ -29,14 +25,35 @@ fedora-x86_64: &fedora-x86_64-defaults
- "${CI_PROJECT_DIR}/_build/report.html"
- "${CI_PROJECT_DIR}/_build/testsuite/reftests/output/*.png"
- "${CI_PROJECT_DIR}/_build/testsuite/gsk/compare/*/*.png"
+
+.fedora-build-defaults: &fedora-build-defaults
+ image: registry.gitlab.gnome.org/gnome/gtk/master:v8
+ stage: build
+ script:
+ - bash -x ./.gitlab-ci/test-docker.sh
+ extends: .build-artifacts
+
+fedora-x86_64:
+ <<: *fedora-build-defaults
+ extends: .build-artifacts
cache:
key: "$CI_JOB_NAME"
<<: *cache-paths
fedora-x86_64-staticlibs:
+ <<: *fedora-build-defaults
variables:
EXTRA_MESON_FLAGS: "-Ddefault_library=both"
- <<: *fedora-x86_64-defaults
+ cache:
+ key: "$CI_JOB_NAME"
+ <<: *cache-paths
+
+# Uncached release build
+fedora-x86_64-release:
+ <<: *fedora-build-defaults
+ allow_failure: true
+ variables:
+ EXTRA_MESON_FLAGS: "-Dbuildtype=release"
.mingw-defaults: &mingw-defaults
stage: build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]