提交 a12334f8 编写于 作者: L liuyq-617

[TD-10640]update jenkins & Drone for blm3

上级 1efbf48f
......@@ -33,11 +33,16 @@ platform:
os: linux
arch: arm64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build
image: arm64v8/ubuntu:bionic
commands:
- apt-get update
- apt-get install -y cmake build-essential
- apt-get install -y cmake build-essential golang-go
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -60,12 +65,17 @@ platform:
arch: arm64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build
image: arm64v8/ubuntu:focal
commands:
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
- apt-get update
- apt-get install -y -qq cmake build-essential
- apt-get install -y -qq cmake build-essential golang-go
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -91,7 +101,7 @@ steps:
- name: build
image: arm64v8/centos:7
commands:
- yum install -y gcc gcc-c++ make cmake git
- yum install -y gcc gcc-c++ make cmake git golang
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -117,7 +127,7 @@ steps:
- name: build
image: arm64v8/centos:8
commands:
- dnf install -y gcc gcc-c++ make cmake epel-release git libarchive
- dnf install -y gcc gcc-c++ make cmake epel-release git libarchive golang
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -140,11 +150,16 @@ platform:
arch: arm
steps:
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build
image: arm32v7/ubuntu:bionic
commands:
- apt-get update
- apt-get install -y cmake build-essential
- apt-get install -y cmake build-essential golang-go
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -171,7 +186,7 @@ steps:
image: ubuntu:trusty
commands:
- apt-get update
- apt-get install -y gcc cmake3 build-essential git binutils-2.26
- apt-get install -y gcc cmake3 build-essential git binutils-2.26 golang-go
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -194,11 +209,16 @@ platform:
arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build
image: ubuntu:xenial
commands:
- apt-get update
- apt-get install -y gcc cmake build-essential
- apt-get install -y gcc cmake build-essential golang-go
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -220,11 +240,16 @@ platform:
arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build
image: ubuntu:bionic
commands:
- apt-get update
- apt-get install -y gcc cmake build-essential
- apt-get install -y gcc cmake build-essential golang-go
- git submodule update --init --recursive
- mkdir debug
- cd debug
......@@ -246,10 +271,15 @@ platform:
arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build
image: ansible/centos7-ansible
commands:
- yum install -y gcc gcc-c++ make cmake
- yum install -y gcc gcc-c++ make cmake golang
- git submodule update --init --recursive
- mkdir debug
- cd debug
......
......@@ -99,7 +99,7 @@ def pre_test(){
sh '''
cd ${WK}
git pull >/dev/null
git submodule update --init --recursive
export TZ=Asia/Harbin
date
git clean -dfx
......@@ -149,6 +149,7 @@ def pre_test_win(){
git fetch origin +refs/pull/%CHANGE_ID%/merge
git checkout -qf FETCH_HEAD
git clean -dfx
git submodule update --init --recursive
cd C:\\workspace\\TDinternal
git reset --hard HEAD~10
'''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册