代码拉取完成,页面将自动刷新
pr:
- master
- release_*
pool:
vmImage: 'ubuntu-20.04'
jobs:
- job: runcheck
steps:
- bash: |
sudo apt-get install -y pep8
sudo apt-get install -y python3-pip
sudo pip3 install --upgrade pip
sudo pip3 install clang-format
.github/runchecks
- job:
dependsOn: runcheck
strategy:
matrix:
"Ubuntu 20.04":
OS_TYPE: "ubuntu:20.04"
PKG_INSTALL_CMD: "apt-get -y update ; apt-get -y upgrade ; apt-get install -y python3"
DOCKER_EXTRA_ARG: "-e DEBIAN_FRONTEND=noninteractive -e LANGUAGE=C.UTF-8 -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8"
CI_CMD: "./ci --local"
"Rocky Linux 9 Sanitize":
OS_TYPE: "rockylinux/rockylinux:9.2"
PKG_INSTALL_CMD: "yum -y install python3"
DOCKER_EXTRA_ARG: "-e BUILD_MODE=sanitize"
CI_CMD: "./ci --local='sanitize'"
"Rocky Linux 9 Kerberos":
OS_TYPE: "rockylinux/rockylinux:9.2"
PKG_INSTALL_CMD: "yum -y install python3"
DOCKER_EXTRA_ARG: "-e BUILD_MODE=kerberos"
CI_CMD: "./ci --local"
steps:
- script: |
docker pull $(OS_TYPE)
docker run -it $(DOCKER_EXTRA_ARG) -d -h pbs.dev.local --name pbsdev -v $(pwd):$(pwd) --privileged -w $(pwd) $(OS_TYPE) /bin/bash
docker exec pbsdev bash -c "$(PKG_INSTALL_CMD)"
docker exec --privileged pbsdev bash -c "pwd ; cd ci ;$(CI_CMD)"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。