Вызов команд через CMake

This commit is contained in:
Andrei Astafev 2020-06-26 04:32:24 +03:00
parent 9bd15d174f
commit 5d918af45c

View File

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