X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fliburcu.yaml;h=490ada6f0433569aa4c7f8722ba6524cdf07c3cc;hb=a86b55bcdc811bd629795e5d2759cd4399e7c825;hp=52593045c8e1fb5b6eb35912bcfa100d7e6659b6;hpb=3b228cdd0941928e4221f7fd5ea8fcca2ad4fcfd;p=lttng-ci.git
diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml
index 5259304..490ada6 100644
--- a/jobs/liburcu.yaml
+++ b/jobs/liburcu.yaml
@@ -4,7 +4,6 @@
# jobtypes:
# - build
# - portbuild
-# - cppcheck
# - coverity
# - scan-build
# - pylint
@@ -63,7 +62,7 @@
## Anchors
-- liburcu_matrix_axes_defaults: &liburcu_matrix_axes_defaults
+- _liburcu_matrix_axes_defaults: &liburcu_matrix_axes_defaults
name: 'liburcu_matrix_axes_defaults'
project-type: matrix
node: 'master' # Applies only to matrix flyweight task
@@ -74,8 +73,8 @@
axes:
- axis:
type: slave
- name: arch
- values: '{obj:archs}'
+ name: platform
+ values: '{obj:platforms}'
- axis:
type: user-defined
name: conf
@@ -85,7 +84,7 @@
name: build
values: '{obj:builds}'
-- liburcu_builders_defaults: &liburcu_builders_defaults
+- _liburcu_builders_defaults: &liburcu_builders_defaults
name: 'liburcu_builders_defaults'
builders:
!j2-yaml: |
@@ -93,7 +92,7 @@
- conditional-step:
condition-kind: strings-match
on-evaluation-failure: run
- condition-string1: {{ '${{arch}}' }}
+ condition-string1: {{ '${{platform}}' }}
condition-string2: 'cygwin64'
steps:
- shell:
@@ -109,13 +108,15 @@
- scripts/liburcu/build.sh
{% endif %}
-- liburcu_publishers_defaults: &liburcu_publishers_defaults
+- _liburcu_publishers_defaults: &liburcu_publishers_defaults
name: 'liburcu_publishers_defaults'
publishers:
- tap: &liburcu_publisher_tap_defaults
results: 'tap/**/*.log'
fail-if-no-results: true
failed-tests-mark-build-as-failure: true
+ include-comment-diagnostics: true
+ output-tap-to-console: false
todo-is-failure: false
- raw: &liburcu_publisher_warnings-ng_defaults
xml: |
@@ -129,14 +130,6 @@
false
-
-
-
-
-
-
- false
-
@@ -166,11 +159,16 @@
- archive: &liburcu_publisher_archive_defaults
- artifacts: 'build/**,tap/**'
+ artifacts: 'build/**,tap/**,log/**'
+ follow-symlinks: true
allow-empty: false
- workspace-cleanup: &liburcu_publisher_workspace_cleanup_defaults
clean-if:
- failure: false
+ - ircbot: &liburcu_publisher_ircbot_defaults
+ strategy: statechange-only
+ message-type: summary
+ matrix-notifier: only-parent
- email-ext: &liburcu_publisher_email_ext_defaults
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
@@ -204,29 +202,7 @@
<<: *liburcu_publishers_defaults
- job-template:
- name: liburcu_{version}_cppcheck
- defaults: liburcu
-
- triggers:
- - pollscm:
- cron: "@daily"
-
- builders:
- - shell: |
- rm -f cppcheck-result.xml
- cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml
-
- publishers:
- - archive:
- artifacts: 'cppcheck-result.xml'
- allow-empty: false
- - cppcheck:
- pattern: 'cppcheck-result.xml'
- - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults
- - email-ext: *liburcu_publisher_email_ext_defaults
-
-- job-template:
- name: dev_gerrit_liburcu_{buildtype}
+ name: dev_review_liburcu_{version}_{buildtype}
defaults: liburcu
concurrent: true
@@ -249,8 +225,19 @@
- project-compare-type: 'PLAIN'
project-pattern: 'userspace-rcu'
branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**'
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
+
+ properties:
+ - inject:
+ properties-content: |
+ PROJECT_NAME=liburcu
+ - build-discarder:
+ days-to-keep: 1
+ - throttle:
+ option: 'category'
+ categories:
+ - 'gerrit-{buildtype}'
<<: *liburcu_matrix_axes_defaults
<<: *liburcu_builders_defaults
@@ -263,7 +250,7 @@
- job-template:
name: liburcu_{version}_scan-build
defaults: liburcu
- node: 'amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
@@ -279,11 +266,12 @@
dir: 'scan-build-archive/'
files: 'index.html'
- workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults
+ - ircbot: *liburcu_publisher_ircbot_defaults
- job-template:
name: liburcu_{version}_coverity
defaults: liburcu
- node: 'amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
@@ -309,6 +297,7 @@
artifacts: 'analysis-results.tgz,cov-int/**'
allow-empty: false
- workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults
+ - ircbot: *liburcu_publisher_ircbot_defaults
## Views
@@ -326,53 +315,80 @@
github_name: userspace-rcu
email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
version:
- - stable-0.12
- stable-0.13
+ - stable-0.14
- master
jobs:
+ - '{job_prefix}liburcu_{version}_{buildtype}':
+ version: master
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std, oot, dist]
+ confs: !!python/tuple [std, static, atomic-builtins, tls_fallback, debug-rcu]
+ touchstone: '(build == "std") && (conf == "std")'
+ - '{job_prefix}liburcu_{version}_{buildtype}':
+ version: stable-0.14
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std, oot, dist]
+ confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
+ touchstone: '(build == "std") && (conf == "std")'
+ - '{job_prefix}liburcu_{version}_{buildtype}':
+ version: stable-0.13
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std, oot, dist]
+ confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
+ touchstone: '(build == "std") && (conf == "std")'
+ # Common
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: build
- archs: !!python/tuple [amd64]
+ platforms: !!python/tuple [bionic-amd64]
builds: !!python/tuple [std, oot, dist]
confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
touchstone: '(build == "std") && (conf == "std")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: portbuild
- archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
- touchstone: '(build == "std") && (conf == "std") && (arch == "i386")'
+ touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: slesbuild
- archs: !!python/tuple [sles12sp5]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
touchstone: '(build == "std")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: elbuild
- archs: !!python/tuple [el7, el8, el9]
+ platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ touchstone: '(build == "std")'
+ - '{job_prefix}liburcu_{version}_{buildtype}':
+ buildtype: yoctobuild
+ platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
touchstone: '(build == "std")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: macosbuild
- archs: !!python/tuple [macos-amd64, macos-arm64]
+ platforms: !!python/tuple [macos-amd64, macos-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
touchstone: '(build == "std")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: winbuild
- archs: !!python/tuple [cygwin64]
+ platforms: !!python/tuple [cygwin64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
touchstone: '(build == "std")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: freebsdbuild
- archs: !!python/tuple [freebsd]
+ platforms: !!python/tuple [freebsd-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
touchstone: '(build == "std")'
- - 'liburcu_{version}_cppcheck'
- 'liburcu_{version}_scan-build'
- 'liburcu_{version}_coverity':
version: master
@@ -388,52 +404,85 @@
- stable-0.9
- stable-0.10
- stable-0.11
+ - stable-0.12
jobs:
- '{job_prefix}liburcu_{version}_{buildtype}':
- buildtype: build
- archs: !!python/tuple [amd64]
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
builds: !!python/tuple [std, oot, dist]
confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
touchstone: '(build == "std") && (conf == "std")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: portbuild
- archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
- touchstone: '(build == "std") && (conf == "std") && (arch == "i386")'
+ touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: slesbuild
- archs: !!python/tuple [sles12sp5]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
touchstone: '(build == "std")'
- '{job_prefix}liburcu_{version}_{buildtype}':
buildtype: elbuild
- archs: !!python/tuple [el7, el8, el9]
+ platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
touchstone: '(build == "std")'
- project:
- name: gerrit-liburcu
+ name: review-liburcu
github_user: urcu
github_name: userspace-rcu
+ version:
+ - stable-0.13
+ - stable-0.14
+ - master
jobs:
- - 'dev_gerrit_liburcu_{buildtype}':
- buildtype: build
- archs: !!python/tuple [amd64]
+ - 'dev_review_liburcu_{version}_{buildtype}':
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
builds: !!python/tuple [std, oot, dist]
confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
touchstone: '(build == "std")'
- - 'dev_gerrit_liburcu_{buildtype}':
+ - 'dev_review_liburcu_{version}_{buildtype}':
buildtype: portbuild
- archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
- touchstone: '(build == "std")'
+ touchstone: ''
+ - 'dev_review_liburcu_{version}_{buildtype}':
+ buildtype: winbuild
+ platforms: !!python/tuple [cygwin64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ touchstone: ''
+- project:
+ name: babeltrace2-mjeanson
+ job_prefix: 'dev_mjeanson_'
+ github_user: urcu
+ github_name: userspace-rcu
+ email_to: "mjeanson@efficios.com"
+ version:
+ - master
+ jobs:
+ - '{job_prefix}liburcu_{version}_{buildtype}':
+ buildtype: portbuild
+ platforms: !!python/tuple [sid-riscv64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
+ touchstone: ''
+ - '{job_prefix}liburcu_{version}_{buildtype}':
+ buildtype: build
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, agents, static, tls_fallback, debug-rcu]
+ touchstone: ''
+
- project:
name: liburcu-views
views: