Reimplement new pipeline and allow limiting number of cores used fo build #3

已合并
belliash 2022-07-25 15:21:18 +02:00 将 8 次代码提交从 pipeline合并至 master
仅显示提交 cf0207e210 的更改 - 显示所有提交

查看文件

@ -2,4 +2,13 @@ pipeline:
build: build:
image: codingworkshop/oscw-runner:latest image: codingworkshop/oscw-runner:latest
commands: commands:
- CORES=8 ./build-linux.sh - CORES=10 ./build-linux.sh
publish:
image: codingworkshop/oscw-runner:latest
secrets:
- OSCW_GITHUB_USERNAME
- OSCW_GITHUB_PASSWORD
when:
event: tag
commands:
- github_publish $OSCW_GITHUB_USERNAME $OSCW_GITHUB_PASSWORD $(ls xtchain-*-linux.tar.zst)