mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
edce01c336
- project tag: - `veloren/veloren`: for the veloren repo only - `veloren/*`: for projects thats are in the veloren namespace, e.g. usefull for smaller projects that dont have their own tag - `*/*` for projects by 3rd parties, e.g. personal projects - trusted tag: - `owned`: The runner is hosted on veloren hardware - `trusted`: The runner is hosted by a private person, trusted by the veloren devs - NONE: if no special trust is given in a runner - check/build tag: - `check`: a job only performs a check and NO executable is build for users - `build`: the job contains atleast 1 executable that can be run by users - NONE: neither a check nor a executable is build, e.g. usefull for pages or meta jobs - publish tag: - `publish`: this job produces a artifact that is automatically pushed to users - NONE: no artifact is pushed automatically to users - pin tags: - `benchmark`: pin a runner to a specific job for the cause of benchmarks - `veloren/*:macos`: runs on a native macos runner ONLY, this needs to be a modified project tag, as otherwise also normal checks would run on this runner. - NONE: no runner is pinned
22 lines
729 B
YAML
22 lines
729 B
YAML
# cargo clippy is a superset of cargo check, so we don't check manually
|
|
code-quality:
|
|
extends: .recompile-branch
|
|
stage: check
|
|
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
|
|
tags: ["veloren/veloren", "check"]
|
|
script:
|
|
- ln -s /dockercache/target target
|
|
- cat ./.gitlab/scripts/code-quality.sh
|
|
- source ./.gitlab/scripts/code-quality.sh
|
|
|
|
security:
|
|
extends: .recompile-branch
|
|
stage: check
|
|
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
|
|
tags: ["veloren/veloren", "check"]
|
|
allow_failure: true
|
|
script:
|
|
- ln -s /dockercache/target target
|
|
- cat ./.gitlab/scripts/security.sh
|
|
- source ./.gitlab/scripts/security.sh
|