Дополнительные правила для форматирования
This commit is contained in:
parent
ada2211a20
commit
5f8922409e
@ -97,6 +97,30 @@ variables:
|
||||
tags: ['elbrus']
|
||||
|
||||
.check-format-sources:
|
||||
variables:
|
||||
CMAKE_GENERATOR: Ninja
|
||||
image: focal-dev
|
||||
tags: ['format']
|
||||
script:
|
||||
- >
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . --target check-format-sources
|
||||
|
||||
.myx-cmake-format-sources-check:
|
||||
variables:
|
||||
CMAKE_GENERATOR: Ninja
|
||||
image: focal-dev
|
||||
tags: ['format']
|
||||
script:
|
||||
- >
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . --target myx-cmake-format-sources-check
|
||||
|
||||
.format-sources-check-custom:
|
||||
variables:
|
||||
CMAKE_GENERATOR: Ninja
|
||||
image: focal-dev
|
||||
@ -105,10 +129,5 @@ variables:
|
||||
- >
|
||||
if [ -n "${CHECK_FORMAT_SOURCES_CMD}" ]; then
|
||||
${CHECK_FORMAT_SOURCES_CMD}
|
||||
else
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . --target check-format-sources
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user