X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fliburcu.yaml;h=98e40b4478093025567eca59d86cca42ced23852;hb=51c9c62db1805a4cdd96be18df4082f1ac5d81c5;hp=46e17c3ed01a1b6044b6c9c191a42b4041be687e;hpb=092af1e4dd9fe70d186e9d4ff369a4b584d787ce;p=lttng-ci.git diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index 46e17c3..98e40b4 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -40,14 +40,13 @@ scm: - git: - url: git://github.com/{github_user}/{github_name}.git + url: https://github.com/{github_user}/{github_name}.git browser: githubweb browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} basedir: src/liburcu skip-tag: true - git-tool: jgit triggers: - pollscm: @@ -86,22 +85,13 @@ name: 'liburcu_build_builders_defaults' builders: - shell: - !include-raw-escape: scripts/liburcu/build.sh + !include-raw-escape: + - scripts/common/print.sh + - scripts/liburcu/build.sh - liburcu_build_builders_win: &liburcu_build_builders_win name: 'liburcu_build_builders_win' builders: - - conditional-step: - condition-kind: strings-match - on-evaluation-failure: run - condition-string1: '${{arch}}' - condition-string2: 'cygwin' - steps: - - shell: - !include-raw-escape: - - scripts/common/cygwin-shebang - - scripts/common/cygwin-prefix - - scripts/liburcu/build.sh - conditional-step: condition-kind: strings-match on-evaluation-failure: run @@ -111,38 +101,18 @@ - shell: !include-raw-escape: - scripts/common/cygwin64-shebang - - scripts/common/cygwin-prefix - - scripts/liburcu/build.sh - - conditional-step: - condition-kind: strings-match - on-evaluation-failure: run - condition-string1: '${{arch}}' - condition-string2: 'msys2-mingw32' - steps: - - inject: - properties-content: 'MSYSTEM=MINGW32' - - shell: - !include-raw-escape: - - scripts/common/msys2-shebang - - scripts/common/cygwin-prefix - - scripts/liburcu/build.sh - - conditional-step: - condition-kind: strings-match - on-evaluation-failure: run - condition-string1: '${{arch}}' - condition-string2: 'msys2-mingw64' - steps: - - inject: - properties-content: 'MSYSTEM=MINGW64' - - shell: - !include-raw-escape: - - scripts/common/msys2-shebang - - scripts/common/cygwin-prefix + - scripts/common/cygpath-prefix + - scripts/common/print.sh - scripts/liburcu/build.sh - liburcu_build_publishers_defaults: &liburcu_build_publishers_defaults name: 'liburcu_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)' @@ -153,7 +123,7 @@ total-normal: 0 total-low: 0 - archive: - artifacts: 'build/**' + artifacts: 'build/**,tap/**' allow-empty: false - ircbot: strategy: new-failure-and-fixed @@ -210,15 +180,15 @@ builders: - shell: | - rm -f liburcu-cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> liburcu-cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml publishers: - archive: - artifacts: 'liburcu-cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'liburcu-cppcheck.xml' + pattern: 'cppcheck-result.xml' - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -245,7 +215,7 @@ - job-template: name: liburcu_{version}_scan-build defaults: liburcu - node: 'x86-64' + node: 'amd64' triggers: - pollscm: @@ -264,7 +234,7 @@ - job-template: name: liburcu_{version}_coverity defaults: liburcu - node: 'x86-64' + node: 'amd64' triggers: - pollscm: @@ -297,26 +267,34 @@ allow-empty: false -## Project +## Views +- view-template: + name: 'Liburcu' + view-type: list + regex: 'liburcu[-_].*' + + +## Projects - project: name: liburcu github_user: urcu github_name: userspace-rcu email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' version: - - stable-0.8 - stable-0.9 - stable-0.10 + - stable-0.11 + - stable-0.12 - master jobs: - 'liburcu_{version}_{buildtype}': buildtype: build - arch: !!python/tuple [x86-32, x86-64] + arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] conf: !!python/tuple [std, static, tls_fallback, debug-rcu] - 'liburcu_{version}_{buildtype}': buildtype: portbuild - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] build: !!python/tuple [std] conf: !!python/tuple [std, static, tls_fallback, debug-rcu] - 'liburcu_{version}_{buildtype}': @@ -324,34 +302,31 @@ arch: !!python/tuple [sles12sp2] build: !!python/tuple [std] conf: !!python/tuple [std] + - 'liburcu_{version}_{buildtype}': + buildtype: elbuild + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] - 'liburcu_{version}_{buildtype}': buildtype: solarisbuild arch: !!python/tuple [sol10-i386, sol11-i386] build: !!python/tuple [std] conf: !!python/tuple [std, static, tls_fallback, debug-rcu] - version: # Solaris support was introduced in 0.9 - - master - - stable-0.9 - - stable-0.10 - 'liburcu_{version}_{buildtype}': buildtype: macosxbuild arch: !!python/tuple [macosx] build: !!python/tuple [std] conf: !!python/tuple [std, static, tls_fallback, debug-rcu] - version: - - master - - stable-0.9 - - stable-0.10 - 'liburcu_{version}_winbuild': - arch: !!python/tuple [cygwin, cygwin64] + arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [std] - version: - - master - - stable-0.9 - - stable-0.10 - 'liburcu_{version}_cppcheck' - 'liburcu_{version}_scan-build' - 'liburcu_{version}_coverity': version: master +- project: + name: liburcu-views + views: + - Liburcu