* test/infra/gitlab-ci.yml (variables): Set GIT_DEPTH: 0.
(.job-template): Remove cache:policy.
(.build-template): Add needs and cache:policy.
(.test-template): Add cache:policy.
(.tree-sitter-template): Add files in changes.
(cherry picked from commit
19f929aaa33a3bd8cc02a7fdfa0d8dc4c2fa8fc3)
- when: always
variables:
+ GIT_DEPTH: 0
GIT_STRATEGY: fetch
EMACS_EMBA_CI: 1
EMACS_TEST_JUNIT_REPORT: junit-test-report.xml
cache:
key: ${CI_COMMIT_SHA}
paths: []
- policy: pull-push
# These will be saved for followup builds.
artifacts:
expire_in: 24 hrs
- find ${test_name} -type d -depth -exec rmdir {} + 2>/dev/null
.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
- lisp/progmodes/csharp-mode.el
- lisp/progmodes/js.el
- lisp/progmodes/python.el
+ - lisp/progmodes/sh-script.el
- lisp/textmodes/*-ts-mode.el
+ - lisp/textmodes/css-mode.el
- lisp/treesit.el
- src/treesit.{h,c}
- test/infra/*