-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.woodpecker.yml
35 lines (31 loc) · 969 Bytes
/
.woodpecker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
matrix:
include:
- BUILDTYPE: Release
COMPILER: gnu
- BUILDTYPE: Debug
COMPILER: clang
services:
synapse:
image: jbakosi/piac-synapse
#pull: true
pipeline:
build:
image: jbakosi/piac-gnu
#pull: true
commands:
- mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=${BUILDTYPE} -DTPL_DIR=/piac/external/install/${COMPILER}-x86_64 .. && make -sj$(grep -c processor /proc/cpuinfo)
when:
matrix:
COMPILER: gnu
build-clang:
image: jbakosi/piac-clang
#pull: true
commands:
- mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=${BUILDTYPE} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DTPL_DIR=/piac/external/install/${COMPILER}-x86_64 .. && make -sj$(grep -c processor /proc/cpuinfo)
when:
matrix:
COMPILER: clang
test:
image: jbakosi/piac-${COMPILER}
commands:
- cd build && ctest -j$(grep -c processor /proc/cpuinfo) --output-on-failure