diff --git a/scheduled.yml b/scheduled.yml index 391c064..0da1ab9 100644 --- a/scheduled.yml +++ b/scheduled.yml @@ -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