1 Star 0 Fork 0

Hic/xed

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
Alexey Klimkin 提交于 2021-04-05 18:23 . Enable XEDExt package build
# .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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/hic_0757/xed.git
git@gitee.com:hic_0757/xed.git
hic_0757
xed
xed
main

搜索帮助