meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git:gitlab:ci:yaml:rules [2025/01/03 10:45] – niziak | git:gitlab:ci:yaml:rules [2025/01/03 14:06] (current) – niziak | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| </ | </ | ||
| - | [[https:// | + | * [[https:// |
| + | * [[https:// | ||
| <code yaml> | <code yaml> | ||
| Line 34: | Line 36: | ||
| variables: | variables: | ||
| CCACHE_DISABLE: | CCACHE_DISABLE: | ||
| + | CACHE_CCACHE_POLICY: | ||
| - if: $CI_COMMIT_TAG | - if: $CI_COMMIT_TAG | ||
| variables: | variables: | ||
| CCACHE_DISABLE: | CCACHE_DISABLE: | ||
| + | CACHE_CCACHE_POLICY: | ||
| + | - when: always | ||
| + | |||
| + | .ccache: & | ||
| + | key: cache-ccache | ||
| + | paths: | ||
| + | - .ccache | ||
| + | policy: ${CACHE_CCACHE_POLICY} | ||
| + | |||
| + | |||
| + | .build-target: | ||
| + | cache: | ||
| + | - <<: *cache-ccache | ||
| + | |||
| </ | </ | ||