diff --git a/scheduled.yml b/scheduled.yml index ca5cce4..4f202d0 100644 --- a/scheduled.yml +++ b/scheduled.yml @@ -3,6 +3,8 @@ variables: GET_SOURCES_ATTEMPTS: 10 .scheduled-test: + variables: + CMAKE_GENERATOR: Ninja rules: - if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_MERGE_REQUEST_ID @@ -41,7 +43,7 @@ variables: if [ -n "${CONFIGURE_CMD}" ]; then ${CONFIGURE_CMD} else - cmake -G Ninja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=_output -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rtis .. + cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=_output -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rtis .. fi - > if [ -n "${BUILD_CMD}" ]; then @@ -94,6 +96,8 @@ variables: tags: ['elbrus'] .check-format-sources: + variables: + CMAKE_GENERATOR: Ninja image: focal-dev tags: ['docker'] script: @@ -103,7 +107,7 @@ variables: else mkdir build cd build - cmake -G Ninja .. + cmake .. cmake --build . --target check-format-sources fi