ci: Restore ccache, but do not cache it across jobs

The GitLab cache is kept across jobs, whether they succeeded or not:
this means that if a compiler check fails during the Meson
configuration, the small compiler program gets cached and restored the
next time the job is run, thus failing again.
This commit is contained in:
Emmanuele Bassi 2018-03-15 12:01:45 +00:00
parent 35f92b5695
commit 0b4e0ce509
2 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,6 @@ before_script:
cache:
paths:
- _ccache/
- subprojects/gdk-pixbuf/
- subprojects/glib/
- subprojects/graphene/

View File

@ -7,6 +7,7 @@ RUN dnf -y install \
avahi-gobject-devel \
cairo-devel \
cairo-gobject-devel \
ccache \
colord-devel \
cups-devel \
desktop-file-utils \