add build test in centos

This commit is contained in:
liuyq-617 2021-05-14 02:00:12 +00:00
parent ee36db4af9
commit 4681a7bf7c
1 changed files with 23 additions and 0 deletions

View File

@ -150,6 +150,29 @@ steps:
branch:
- develop
- master
---
kind: pipeline
name: build_centos7
platform:
os: linux
arch: amd64
steps:
- name: build
image: ansible/centos7-ansible
commands:
- yum install gcc cmake build-essential -y
- mkdir debug
- cd debug
- cmake ..
- make
trigger:
event:
- pull_request
when:
branch:
- develop
- master
---
kind: pipeline