mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
21 lines
674 B
YAML
21 lines
674 B
YAML
# Template to only run if actual changes has been made to the code and not just documentation
|
|
.recompile-branch:
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
# No '-' here is *very* important: https://docs.gitlab.com/ee/ci/yaml/#complex-rule-clauses
|
|
changes:
|
|
- "**/*.{glsl,png,rs,ron,ftl,toml,vox,yml,wav,sh}"
|
|
- "rust-toolchain"
|
|
- "Cargo.lock"
|
|
- ".gitlab-ci.yml"
|
|
|
|
# TODO: appears unused
|
|
# like .recompile-branch but will run on master too
|
|
.recompile:
|
|
rules:
|
|
- changes:
|
|
- "**/*.{glsl,png,rs,ron,ftl,toml,vox,yml,wav,sh}"
|
|
- "rust-toolchain"
|
|
- "Cargo.lock"
|
|
- ".gitlab-ci.yml"
|