mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
e327f73812
They default to format but also can be used for checking
21 lines
562 B
YAML
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
|