Возврат к вызову через 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
${BUILD_CMD}
else
cmake --parallel --verbose --build .
ninja -v all
fi
- >
if [ -z "${CI_SHARED_ENVIRONMENT+x}" ]; then
if [ -n "${PACKAGE_CMD}" ]; then
${PACKAGE_CMD}
else
cmake --verbose --install
cpack -G DEB
cpack -G TGZ
cpack --config CPackSourceConfig.cmake
ninja -v install
ninja package
ninja package_source
fi
fi
- echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status"