Возврат к вызову через ninja

This commit is contained in:
Andrei Astafev 2020-06-26 04:40:10 +03:00
parent 00ff2fda15
commit b1d84f790c

View File

@ -47,17 +47,16 @@ variables:
if [ -n "${BUILD_CMD}" ]; then if [ -n "${BUILD_CMD}" ]; then
${BUILD_CMD} ${BUILD_CMD}
else else
cmake --parallel --verbose --build . ninja -v all
fi fi
- > - >
if [ -z "${CI_SHARED_ENVIRONMENT+x}" ]; then if [ -z "${CI_SHARED_ENVIRONMENT+x}" ]; then
if [ -n "${PACKAGE_CMD}" ]; then if [ -n "${PACKAGE_CMD}" ]; then
${PACKAGE_CMD} ${PACKAGE_CMD}
else else
cmake --verbose --install ninja -v install
cpack -G DEB ninja package
cpack -G TGZ ninja package_source
cpack --config CPackSourceConfig.cmake
fi fi
fi fi
- echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status" - echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status"