name: 'librseq_build_axes_defaults'
project-type: matrix
node: 'master' # Applies only to matrix flyweight task
+ execution-strategy:
+ touchstone:
+ expr: '{touchstone}'
+ result: unstable
axes:
- axis:
type: slave
- name: arch
- values: '{obj:arch}'
+ name: platform
+ values: '{obj:platforms}'
- axis:
type: user-defined
name: conf
- values: '{obj:conf}'
+ values: '{obj:confs}'
- axis:
type: user-defined
name: build
- values: '{obj:build}'
+ values: '{obj:builds}'
- librseq_build_axes_cc: &librseq_build_axes_cc
name: 'librseq_build_axes_cc'
project-type: matrix
node: 'master' # Applies only to matrix flyweight task
+ execution-strategy:
+ touchstone:
+ expr: '{touchstone}'
+ result: unstable
axes:
- axis:
type: slave
- name: arch
- values: '{obj:arch}'
+ name: platform
+ values: '{obj:platforms}'
- axis:
type: user-defined
name: conf
- values: '{obj:conf}'
+ values: '{obj:confs}'
- axis:
type: user-defined
name: build
- values: '{obj:build}'
+ values: '{obj:builds}'
- axis:
type: user-defined
name: cc
- values: '{obj:cc}'
+ values: '{obj:ccs}'
- librseq_build_builders_defaults: &librseq_build_builders_defaults
name: 'librseq_build_builders_defaults'
- librseq_build_publishers_defaults: &librseq_build_publishers_defaults
name: 'librseq_build_publishers_defaults'
publishers:
+ - tap:
+ results: 'tap/**/*.log'
+ fail-if-no-results: true
+ failed-tests-mark-build-as-failure: true
+ todo-is-failure: false
- warnings:
console-log-parsers:
- 'GNU Make + GNU C Compiler (gcc)'
total-normal: 0
total-low: 0
- archive:
- artifacts: 'build/**'
+ artifacts: 'build/**,tap/**'
allow-empty: false
- - ircbot:
- strategy: new-failure-and-fixed
- matrix-notifier: only-parent
- channels:
- - name: '#lttng'
- email-ext:
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
send-to:
- recipients
+- librseq_build_publishers_gerrit: &librseq_build_publishers_gerrit
+ name: 'librseq_build_publishers_gerrit'
+ publishers:
+ - tap:
+ results: 'tap/**/*.log'
+ fail-if-no-results: true
+ failed-tests-mark-build-as-failure: true
+ todo-is-failure: false
+ - 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/**,tap/**'
+ allow-empty: false
+
+
## Templates
- job-template:
name: librseq_{version}_{buildtype}
send-to:
- recipients
+- job-template:
+ name: dev_gerrit_librseq_{buildtype}
+ defaults: librseq
+ concurrent: true
+
+ scm:
+ - git:
+ url: https://review.lttng.org/librseq
+ refspec: 'refs/changes/*:refs/changes/*'
+ branches:
+ - '$GERRIT_REFSPEC'
+ basedir: src/librseq
+ skip-tag: true
+
+ triggers:
+ - gerrit:
+ trigger-on:
+ - comment-added-event:
+ approval-category: 'CI-Build'
+ approval-value: 1
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'librseq'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**'
+
+ <<: *librseq_build_axes_defaults
+ <<: *librseq_build_builders_defaults
+ <<: *librseq_build_publishers_gerrit
+
+ properties:
+ - inject:
+ properties-content: |
+ PROJECT_NAME=librseq
+ - build-discarder:
+ days-to-keep: 1
+ - throttle:
+ option: 'category'
+ categories:
+ - 'gerrit-{buildtype}'
+
- job-template:
name: librseq_{version}_scan-build
defaults: librseq
allow-empty: false
- view-template:
- name: 'rseq'
+ name: 'Librseq'
description: 'Restartable sequences'
view-type: list
- regex: 'librseq_.*|linux-rseq_.*'
+ regex: 'librseq_.*'
## Project
jobs:
- 'librseq_{version}_{buildtype}':
buildtype: build
- arch: !!python/tuple [amd64]
- build: !!python/tuple [std, oot, dist, oot-dist]
- conf: !!python/tuple [std, static]
+ platforms: !!python/tuple [jammy-amd64]
+ builds: !!python/tuple [std, oot, dist, oot-dist]
+ confs: !!python/tuple [std, static]
+ touchstone: '(build == "std") && (conf == "std")'
- 'librseq_{version}_{cctype}':
cctype: gccbuild
- arch: !!python/tuple [amd64]
- build: !!python/tuple [std]
- conf: !!python/tuple [std, static]
- cc: !!python/tuple [gcc-4.8, gcc-5, gcc-6, gcc-7, gcc-8]
+ platforms: !!python/tuple [jammy-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, static]
+ ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
+ touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
- 'librseq_{version}_{cctype}':
cctype: clangbuild
- arch: !!python/tuple [amd64]
- build: !!python/tuple [std]
- conf: !!python/tuple [std, static]
- cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
+ platforms: !!python/tuple [jammy-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, static]
+ ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
+ touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
- 'librseq_{version}_{buildtype}':
buildtype: portbuild
- arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
- build: !!python/tuple [std]
- conf: !!python/tuple [std, static]
-# - 'librseq_{version}_cppcheck'
-# - 'librseq_{version}_scan-build'
-# - 'librseq_{version}_coverity':
-# version: master
+ platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, static]
+ touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
+
+- project:
+ name: gerrit-librseq
+ github_user: compudj
+ github_name: librseq
+ jobs:
+ - 'dev_gerrit_librseq_{buildtype}':
+ buildtype: build
+ platforms: !!python/tuple [jammy-amd64]
+ builds: !!python/tuple [std, oot, dist, oot-dist]
+ confs: !!python/tuple [std, static]
+ touchstone: '(build == "std") && (conf == "std")'
- project:
name: librseq-views
views:
- - rseq
+ - Librseq