summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-04-26 12:16:30 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-04-30 18:11:40 +0100
commitd15ba94b2ebfbec6198353352e1b85afdbb1d8e8 (patch)
tree3b1eda25c720f3573385bc85a82112b80269f6b4 /.gitlab-ci.yml
parentb20f359cb75291d4968c0752cf76a84c90551927 (diff)
downloadgdk-pixbuf-d15ba94b2ebfbec6198353352e1b85afdbb1d8e8.tar.gz
Prepare for GitLab CI
Once we migrate GdkPixbuf over to GitLab, we should already have all the required bits in place for running a continuous integration pipeline.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..2c3d8dbac
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,20 @@
+stages:
+ - build
+
+.cache-paths: &cache-paths
+ paths:
+ - _ccache/
+
+meson-fedora-x86_64:
+ image: registry.gitlab.gnome.org/gnome/gdk-pixbuf/master:v1
+ stage: build
+ script:
+ - bash -x ./.gitlab/ci/test-docker.sh
+ artifacts:
+ when: on_failure
+ name: "gdk-pixbuf-${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+ cache:
+ key: "$CI_JOB_NAME"
+ <<: *cache-paths