ci: save compilation cache also for failed jobs

This commit is contained in:
Tommaso Pecorella
2022-09-04 21:54:28 +02:00
parent 832405f4a5
commit 403aec2aa3
3 changed files with 3 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ doxygen:
key: "ccache-$CI_JOB_NAME"
paths:
- $CCACHE_BASEDIR_VALUE/
when: 'always'
variables:
CCACHE_BASEDIR_VALUE: ns-3-ccache-storage
COMPILER: g++

View File

@@ -29,6 +29,7 @@
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
- $CCACHE_BASEDIR_VALUE/
when: 'always'
variables:
COMPILER: g++
CCACHE_BASEDIR_VALUE: ns-3-ccache-storage

View File

@@ -54,6 +54,7 @@ stages:
key: "ccache-$CI_JOB_NAME"
paths:
- $CCACHE_BASEDIR_VALUE/
when: 'always'
timeout: 12h
variables:
CCACHE_BASEDIR_VALUE: ns-3-ccache-storage