1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/.gitlab/ci/check_jobs.yml
Elias Steurer e327f73812 Fix all formatting scripts and format files
They default to format but also can be used
for checking
2023-08-20 11:59:02 +02:00

21 lines
562 B
YAML

formatting:
stage: check
allow_failure: true
rules:
- if: $CI_COMMIT_TAG
when: never
image:
name: ubuntu:23.10
tags:
- gitlab-org-docker
before_script:
- apt-get update -y
- apt-get install python3-pip python-is-python3 clang clang-format -y
script:
- python -m pip install -U pip wheel --break-system-packages
- python -m pip install -U cmakelang --break-system-packages
- cd Tools
- python check_format_cmake.py --check
- python check_format_cpp.py --check
- python check_format_qml.py --check