.build-template:
needs: []
+ cache:
+ policy: push
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
when: always
- docker push ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG}
.test-template:
+ cache:
+ policy: pull
artifacts:
name: ${test_name}
public: true
junit: ${test_name}/${EMACS_TEST_JUNIT_REPORT}
.gnustep-template:
+ cache:
+ key: gnustep-${CI_COMMIT_SHA}
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- test/infra/*
.filenotify-gio-template:
+ cache:
+ key: filenotify-gio-${CI_COMMIT_SHA}
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
- test/lisp/filenotify-tests.el
.eglot-template:
+ cache:
+ key: eglot-${CI_COMMIT_SHA}
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- test/lisp/progmodes/eglot-tests.el
.tree-sitter-template:
+ cache:
+ key: tree-sitter-${CI_COMMIT_SHA}
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- test/src/treesit-tests.el
.native-comp-template:
+ cache:
+ key: native-comp-${CI_COMMIT_SHA}
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'