veloren/.gitlab/CI/recompile.yml

20 lines
665 B
YAML
Raw Normal View History

2020-05-15 13:34:52 +00:00
# Template to only run if actual changes has been made to the code and not just documentation
.recompile-branch:
2020-05-15 13:34:52 +00:00
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
2020-05-30 09:03:47 +00:00
# No '-' here is *very* important: https://docs.gitlab.com/ee/ci/yaml/#complex-rule-clauses
changes:
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav,sh}"
2020-05-15 13:34:52 +00:00
- "rust-toolchain"
2020-12-02 00:35:32 +00:00
- "Cargo.lock"
- ".gitlab-ci.yml"
2021-06-03 08:10:22 +00:00
# TODO: appears unused
# like .recompile-branch but will run on master too
.recompile:
rules:
- changes:
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav,sh}"
- "rust-toolchain"
2020-12-02 00:35:32 +00:00
- "Cargo.lock"
- ".gitlab-ci.yml"