mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
78c130543c
We should save the logs directory when the CI pipeline fails, so that we have a chance at debugging the failure.
29 lines
529 B
YAML
29 lines
529 B
YAML
image: lazka/gitlab-gtk:v1
|
|
|
|
stages:
|
|
- build
|
|
|
|
before_script:
|
|
- mkdir -p _ccache
|
|
- export CCACHE_BASEDIR=${PWD}
|
|
- export CCACHE_DIR=${PWD}/_ccache
|
|
|
|
cache:
|
|
paths:
|
|
- _ccache/
|
|
- subprojects/gdk-pixbuf/
|
|
- subprojects/glib/
|
|
- subprojects/graphene/
|
|
- subprojects/libepoxy/
|
|
- subprojects/pango/
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- bash -x ./.gitlab-ci/test-docker.sh
|
|
artifacts:
|
|
when: on_failure
|
|
name: "gtk-${CI_COMMIT_REF_NAME}"
|
|
paths:
|
|
- "${CI_PROJECT_DIR}/_build_full/meson-logs"
|