summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-06-17 20:32:37 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-06-17 20:32:37 +0100
commitd65cdd42cb89fa794a010219e05def0df7b6d95d (patch)
tree7f2c1372bc51c188737ec39c2540e8cabd021f3d /.gitlab-ci.yml
parent8857547b47c3918c5177c8a5adab61527fc61401 (diff)
downloadclutter-d65cdd42cb89fa794a010219e05def0df7b6d95d.tar.gz
Add CI infrastructure for Clutter
We should use GitLab's CI runner and Docker registry to build Clutter and test it.
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..34a7031d0
--- /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/clutter/master:v1
+ stage: build
+ script:
+ - bash -x ./.gitlab-ci/test-docker.sh
+ artifacts:
+ when: on_failure
+ name: "clutter-${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+ cache:
+ key: "$CI_JOB_NAME"
+ <<: *cache-paths