add .woodpecker.yml
This commit is contained in:
parent
cf5fabd04b
commit
9d9180fdcb
1 changed files with 18 additions and 0 deletions
18
.woodpecker.yml
Normal file
18
.woodpecker.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: chizeta/centos:8
|
||||||
|
commands:
|
||||||
|
- source /opt/rh/gcc-toolset-9/enable
|
||||||
|
- mkdir build-gcc
|
||||||
|
- cd build-gcc
|
||||||
|
- cmake3 ..
|
||||||
|
- make -j2
|
||||||
|
- make test
|
||||||
|
- cd ..
|
||||||
|
- mkdir build-clang
|
||||||
|
- cd build-clang
|
||||||
|
- CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 ..
|
||||||
|
- make -j2
|
||||||
|
- make test
|
Loading…
Reference in a new issue