From 5f8922409e6cbf9f431db680156d7a3e213398e4 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Fri, 28 Jan 2022 10:36:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D0=BB=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D1=84=D0=BE?= =?UTF-8?q?=D1=80=D0=BC=D0=B0=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scheduled.yml | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) 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