## Templates
- job-template:
- name: liburcu_{version}_build
+ name: liburcu_{version}_{buildtype}
defaults: liburcu
project-type: matrix
+ node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
axes:
- axis:
type: slave
name: arch
- values:
- - x86-32
- - x86-64
+ values: '{obj:arch}'
- axis:
type: user-defined
name: conf
- axis:
type: user-defined
name: build
- values:
- - std
- - oot
- - dist
+ values: '{obj:build}'
builders:
- shell:
- warnings:
console-log-parsers:
- 'GNU Make + GNU C Compiler (gcc)'
+ total-thresholds:
+ failed:
+ total-all: 0
+ total-high: 0
+ total-normal: 0
+ total-low: 0
- archive:
artifacts: 'build/**'
allow-empty: false
- fingerprint: true
- trigger:
project: lttng-ust-{version}
threshold: SUCCESS
- archive:
artifacts: 'liburcu-cppcheck.xml'
allow-empty: false
- fingerprint: true
- cppcheck:
pattern: 'liburcu-cppcheck.xml'
- email:
- project:
name: liburcu
version:
- - stable-0.7
- - stable-0.8
- - master
+ !include jobs/inc/liburcu-versions.yaml.inc
jobs:
- - 'liburcu_{version}_build'
+ - 'liburcu_{version}_{buildtype}':
+ buildtype: build
+ arch: !!python/tuple [x86-32, x86-64]
+ build: !!python/tuple [std, oot, dist]
+ - 'liburcu_{version}_{buildtype}':
+ buildtype: portbuild
+ arch: !!python/tuple [armhf, powerpc]
+ build: !!python/tuple [std]
- 'liburcu_{version}_cppcheck'
- 'liburcu_{version}_scan-build'