[librsvg: 1/5] gitlab-ci: Add a build in release mode.
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/5] gitlab-ci: Add a build in release mode.
- Date: Tue, 27 Feb 2018 14:23:53 +0000 (UTC)
commit 27121aacb7cc9af1e508937474d83468d49390f0
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Mon Feb 26 19:57:53 2018 +0200
gitlab-ci: Add a build in release mode.
.gitlab-ci.yml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 42b381aa..d7bb27e9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,32 @@ stages:
- target/
- .cargo_cache/
+.test_template: &distro_test_release
+ script:
+ # Only stuff inside the repo directory can be cached
+ # Override the CARGO_HOME variable to force it location
+ - export CARGO_HOME=".cargo_cache/"
+ - rustc --version && cargo --version
+ - ./autogen.sh
+ - make check
+
+ after_script:
+ - mkdir png_artifacts
+ - cp /tmp/*.png png_artifacts
+
+ artifacts:
+ when: on_failure
+ paths:
+ - tests/*.log
+ - png_artifacts
+
+ cache:
+ # Each job will have it's own cache
+ key: "$CI_JOB_NAME"
+ paths:
+ - target/
+ - .cargo_cache/
+
# .deb_template: &deb_deps
# before_script:
# - apt update -yqq
@@ -45,6 +71,11 @@ fedora:test:
stage: test
<<: *distro_test
+fedora:test_release:
+ image: registry.gitlab.com/alatiera/librsvg-oci-images/fedora:latest
+ stage: test
+ <<: *distro_test_release
+
fedora:rawhide:
image: registry.gitlab.com/alatiera/librsvg-oci-images/fedora:latest
stage: distro_test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]