- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std'
+ project:
+ !j2: |
+ {{job_prefix}}liburcu_{%- raw -%}${liburcu_version}{%- endraw -%}
+ _{{cctype|default(buildtype)}}/platform={%- raw %}${platform}{%- endraw -%}
+ ,build=std,conf={%- raw -%}${liburcu_conf}{%- endraw -%}
+ {%- if ccs|default(false) %},cc={%- raw -%}${cc}{%- endraw -%}{% endif -%}
# Run the build
- shell:
- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- project: 'liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std'
+ project:
+ !j2: |
+ liburcu_{%- raw -%}${liburcu_version}{%- endraw -%}
+ _{{cctype|default(buildtype)}}/platform={%- raw %}${platform}{%- endraw -%}
+ ,build=std,conf={%- raw -%}${liburcu_conf}{%- endraw -%}
+ {%- if ccs|default(false) %},cc={%- raw -%}${cc}{%- endraw -%}{% endif -%}
- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
<<: *lttng-ust_builders_defaults
<<: *lttng-ust_publishers_defaults
+- job-template:
+ name: '{job_prefix}lttng-ust_{version}_{cctype}'
+ defaults: lttng-ust
+ <<: *lttng-ust_matrix_axes_defaults
+ axes:
+ - axis:
+ <<: *lttng-ust_matrix_axis_platform
+ - axis:
+ <<: *lttng-ust_matrix_axis_conf
+ - axis:
+ <<: *lttng-ust_matrix_axis_build
+ - axis:
+ <<: *lttng-ust_matrix_axis_liburcu_version
+ - axis:
+ type: user-defined
+ name: cc
+ values: '{obj:ccs}'
+
+ <<: *lttng-ust_builders_defaults
+ <<: *lttng-ust_publishers_defaults
- job-template:
name: dev_review_lttng-ust_{version}_{buildtype}
defaults: lttng-ust
concurrent: true
- scm:
+ scm: <tng-ust_dev_review_scm
- git:
url: https://review.lttng.org/lttng-ust
refspec: 'refs/changes/*:refs/changes/*'
basedir: src/lttng-ust
skip-tag: true
- triggers:
+ triggers: <tng-ust_dev_review_triggers
- gerrit: <tng-ust_trigger_gerrit_defaults
trigger-on:
- comment-added-event:
<<: *lttng-ust_builders_defaults
<<: *lttng-ust_publishers_review
- properties:
+ properties: <tng-ust_dev_review_properties
- inject:
properties-content: |
PROJECT_NAME=lttng-ust
categories:
- 'gerrit-{buildtype}'
+- job-template:
+ name: 'dev_review_lttng-ust_{version}_{cctype}'
+ defaults: lttng-ust
+ concurrent: true
+ scm: *lttng-ust_dev_review_scm
+ triggers: *lttng-ust_dev_review_triggers
+ properties: *lttng-ust_dev_review_properties
+ <<: *lttng-ust_matrix_axes_defaults
+ axes:
+ - axis:
+ <<: *lttng-ust_matrix_axis_platform
+ - axis:
+ <<: *lttng-ust_matrix_axis_conf
+ - axis:
+ <<: *lttng-ust_matrix_axis_build
+ - axis:
+ <<: *lttng-ust_matrix_axis_liburcu_version
+ - axis:
+ type: user-defined
+ name: cc
+ values: '{obj:ccs}'
+ <<: *lttng-ust_builders_defaults
+ <<: *lttng-ust_publishers_review
- job-template:
name: dev_review_lttng-ust_lttng-tools_{version}_{buildtype}
liburcu_versions: !!python/tuple [stable-0.13, master]
filter: ''
touchstone: ''
+ - '{job_prefix}lttng-ust_{version}_{cctype}':
+ buildtype: linuxbuild
+ cctype: clangbuild
+ ccs: !!python/tuple [clang-13, clang-14, clang-15, clang-16]
+ version: master
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, agents]
+ liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
+ filter: ''
+ touchstone: ''
- 'lttng-ust_{version}_scan-build':
version: master
- 'lttng-ust_{version}_coverity':
liburcu_versions: !!python/tuple [stable-0.13, master]
filter: ''
touchstone: ''
+ - '{job_prefix}lttng-ust_{version}_{cctype}':
+ buildtype: linuxbuild
+ cctype: clangbuild
+ ccs: !!python/tuple [clang-13, clang-14, clang-15, clang-16]
+ version: stable-2.13
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
+ filter: ''
+ touchstone: ''
- 'lttng-ust_{version}_scan-build':
version: stable-2.13
liburcu_versions: !!python/tuple [stable-0.14]
filter: ''
touchstone: ''
+ - 'dev_review_lttng-ust_{version}_{cctype}':
+ cctype: clangbuild
+ ccs: ['clang-13', 'clang-14', 'clang-15', 'clang-16']
+ version: master
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std, oot, dist, oot-dist]
+ confs: !!python/tuple [std, agents]
+ filter: ''
+ touchstone: ''
+ liburcu_versions: !!python/tuple [stable-0.14]
+ babeltrace_version: stable-2.0
## Stable 2.13 ##
- 'dev_review_lttng-ust_{version}_{buildtype}':