Skip to content
Snippets Groups Projects
Commit d4334849 authored by Martin Wölzer's avatar Martin Wölzer
Browse files

.gitlab-ci/format.yml: introduced formatting pipelines

parent 81e67219
No related branches found
No related tags found
1 merge request!24Create release v.0.6.0
This diff is collapsed.
.format-template:
stage: format
variables:
FORMAT_PATCH_FILE: "format.patch"
artifacts:
when: always
expire_in: 1 week
paths:
- ${FORMAT_PATCH_FILE}
clang-format:
extends:
- .format-template
script:
- .ci/format/apply_clang_format.sh --output-patch-file "${FORMAT_PATCH_FILE}"
variables:
CLANG_COMPILER_VERSION: "11"
tags:
- ubuntu-22.04-amd64
shfmt:
extends:
- .format-template
script:
- .ci/format/apply_shfmt.sh --output-patch-file "${FORMAT_PATCH_FILE}"
tags:
- ubuntu-24.04-amd64
shfmt-bats:
extends:
- .format-template
script:
- .ci/format/apply_shfmt_bats.sh --output-patch-file "${FORMAT_PATCH_FILE}"
tags:
- ubuntu-24.04-amd64
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment