ci: Store the logs on build failure

We should save the logs directory when the CI pipeline fails, so that we
have a chance at debugging the failure.
This commit is contained in:
Emmanuele Bassi 2018-03-01 17:09:22 +07:00
parent 4b33cc5f89
commit 78c130543c

View File

@ -20,4 +20,9 @@ cache:
build:
stage: build
script:
- bash -x ./.gitlab-ci/test-docker.sh
- 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"