代码拉取完成,页面将自动刷新
# .gitlab-ci.yml
variables:
PACKAGE_NAME: xed
build:
#image: ubuntu:18.04
#image: xed-testing-container
image: amr-registry-pre.caas.intel.com/xed/xed-testing-container
stage: build
script:
- python3 ci-internal.py
build-conan:
image: amr-registry.caas.intel.com/syssim/teamcity-agent:2020.1.5-21ww05
stage: build
script:
- virtualenv --python="$(which python3)" ~/.syssim-virtualenv
- source ~/.syssim-virtualenv/bin/activate
- pip install conan pylint astroid yapf
- conan config install https://gitlab.devtools.intel.com/syssim/conan-config.git
- |-
if [[ $CI_COMMIT_REF_NAME == main && $CI_COMMIT_TAG == v* ]]; then
PACKAGE_REF=$PACKAGE_NAME/${CI_COMMIT_TAG#v*}@xed/stable
else
PACKAGE_REF=$PACKAGE_NAME/$CI_COMMIT_SHA@xed/ci
fi
conan create . $PACKAGE_REF --build=missing --profile=gcc9-native
if [[ $CI_COMMIT_REF_NAME == main && $CI_COMMIT_TAG == v* ]]; then
conan user -r syssim-public "$CONAN_USERNAME" -p "$CONAN_PASSWORD"
conan upload $PACKAGE_REF -r syssim-public --force
LATEST_REF=$PACKAGE_NAME/latest@xed/ci
conan alias $LATEST_REF $PACKAGE_REF
conan upload $LATEST_REF -r syssim-public --force
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。