X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=jobs%2Fbabeltrace.yaml;h=e2806277c20828691fba1232295d52192f231e9d;hb=HEAD;hp=05644bd67b6245f6c7108ba81e48911cda4b362e;hpb=7ff14a9767236737d53c52cefc9c992bdbe7d164;p=lttng-ci.git diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 05644bd..fc8aae7 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -109,24 +109,10 @@ condition-kind: strings-match on-evaluation-failure: run condition-string1: {{ '${{platform}}' }} - condition-string2: 'msys2-mingw32' + condition-string2: 'msys2-ucrt64' steps: - inject: - properties-content: 'MSYSTEM=MINGW32' - - shell: - !include-raw-escape: - - scripts/common/msys2-shebang - - scripts/common/cygpath-prefix - - scripts/common/print.sh - - scripts/babeltrace/build.sh - - conditional-step: - condition-kind: strings-match - on-evaluation-failure: run - condition-string1: {{ '${{platform}}' }} - condition-string2: 'msys2-mingw64' - steps: - - inject: - properties-content: 'MSYSTEM=MINGW64' + properties-content: 'MSYSTEM=UCRT64' - shell: !include-raw-escape: - scripts/common/msys2-shebang @@ -148,13 +134,14 @@ properties-content: | LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig - platform=bionic-amd64 + platform=deb12-amd64 conf=std build=std - shell: | - wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz - tar xvf glib-2.28.6.tar.gz + curl -OL 'https://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz' + tar xf glib-2.28.6.tar.gz cd glib-2.28.6 + sed -i 's/sys\/types\.h/sys\/sysmacros\.h/' gio/gdbusmessage.c # Fix build failure with recent glibc mkdir BUILD_RESULT ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT make -j `nproc` >/dev/null 2>&1 # Hide warnings @@ -358,7 +345,7 @@ <<: *babeltrace_publishers_review - job-template: - name: 'dev_review_babeltrace_{version}_pylint' + name: 'dev_review_babeltrace_{version}_lint' defaults: babeltrace concurrent: true @@ -368,11 +355,11 @@ triggers: - gerrit: *babeltrace_trigger_gerrit_defaults - node: 'bionic-amd64' + node: 'deb12-amd64' builders: - shell: - !include-raw-escape: scripts/babeltrace/pylint.sh + !include-raw-escape: scripts/babeltrace/lint.sh properties: - inject: @@ -382,6 +369,9 @@ days-to-keep: 1 publishers: + - archive: + artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out,check-include-guards.out' + allow-empty: false - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults - job-template: @@ -436,7 +426,7 @@ triggers: - gerrit: *babeltrace_trigger_gerrit_smoke - node: 'jammy-amd64' + node: 'deb12-amd64' builders: - shell: @@ -458,7 +448,7 @@ - job-template: name: babeltrace_{version}_release defaults: babeltrace - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -488,7 +478,7 @@ - job-template: name: babeltrace_{version}_scan-build defaults: babeltrace - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -509,7 +499,7 @@ - job-template: name: babeltrace_{version}_coverity defaults: babeltrace - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -538,9 +528,9 @@ - ircbot: *babeltrace_publisher_ircbot_defaults - job-template: - name: babeltrace_{version}_pylint + name: babeltrace_{version}_lint defaults: babeltrace - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -548,12 +538,12 @@ builders: - shell: - !include-raw-escape: scripts/babeltrace/pylint.sh + !include-raw-escape: scripts/babeltrace/lint.sh publishers: - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults - archive: - artifacts: 'black.out,flake8.out' + artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out,check-include-guards.out' allow-empty: false - ircbot: *babeltrace_publisher_ircbot_defaults - email-ext: *babeltrace_publisher_email-ext_defaults @@ -561,7 +551,7 @@ - job-template: name: '{job_prefix}babeltrace_{version}_glib-2.28.6' defaults: babeltrace - node: 'bionic-amd64' + node: 'deb12-amd64' <<: *babeltrace_builders_glib-2-28-6 <<: *babeltrace_publishers_defaults @@ -587,14 +577,7 @@ jobs: - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: linuxbuild - platforms: !!python/tuple [jammy-amd64, deb12-amd64] - builds: !!python/tuple [std, oot, dist, oot-dist] - confs: !!python/tuple [std, static, prod, min, doc, asan] - filter: '(build=="std") || (conf=="std") || (conf=="doc")' - touchstone: '(build == "std") && (conf == "std")' - - '{job_prefix}babeltrace_{version}_{buildtype}': - buildtype: build - platforms: !!python/tuple [bionic-amd64] + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, static, prod, min, doc, asan] filter: '(build=="std") || (conf=="std") || (conf=="doc")' @@ -608,7 +591,7 @@ touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: slesbuild - platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] builds: !!python/tuple [std] confs: !!python/tuple [std, prod] filter: '' @@ -622,14 +605,14 @@ touchstone: '' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: yoctobuild - platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64] + platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] builds: !!python/tuple [std] confs: !!python/tuple [std] filter: '' touchstone: '' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: macosbuild - platforms: !!python/tuple [macos-amd64, macos-arm64] + platforms: !!python/tuple [macos-arm64] builds: !!python/tuple [std] confs: !!python/tuple [std, prod] filter: '' @@ -643,23 +626,23 @@ touchstone: '' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: winbuild - platforms: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64] + platforms: !!python/tuple [cygwin64, msys2-ucrt64] builds: !!python/tuple [std] confs: !!python/tuple [std] filter: '' touchstone: '' - 'babeltrace_{version}_{cctype}': cctype: clangbuild - platforms: !!python/tuple [bionic-amd64] + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std] confs: !!python/tuple [std, static, prod] - ccs: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] + ccs: !!python/tuple [clang-13, clang-14, clang-15] filter: '' touchstone: '' - 'babeltrace_{version}_release': version: v2.0 - 'babeltrace_{version}_scan-build' - - 'babeltrace_{version}_pylint' + - 'babeltrace_{version}_lint' - 'babeltrace_{version}_coverity': version: master - '{job_prefix}babeltrace_{version}_glib-2.28.6': @@ -672,13 +655,14 @@ github_name: babeltrace version: - stable-2.0 + - ctf2 - master jobs: ## Master ## - 'dev_review_babeltrace_{version}_{buildtype}': version: master - buildtype: build - platforms: !!python/tuple [bionic-amd64] + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, static, prod, min] filter: '' @@ -696,16 +680,62 @@ - 'dev_review_babeltrace_{version}_{buildtype}': version: master buildtype: macosbuild - platforms: !!python/tuple [macos-amd64, macos-arm64] + platforms: !!python/tuple [macos-arm64] builds: !!python/tuple [std] confs: !!python/tuple [std, prod] filter: '' touchstone: '' warnings_status: FAILED + - 'dev_review_babeltrace_{version}_{buildtype}': + buildtype: slesbuild + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + filter: '' + touchstone: '' + warnings_status: FAILED - 'dev_review_babeltrace_{version}_{buildtype}': version: master buildtype: winbuild - platforms: !!python/tuple [cygwin64, msys2-mingw64] + platforms: !!python/tuple [cygwin64, msys2-ucrt64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + filter: '' + touchstone: '' + warnings_status: FAILED + + ## ctf2 temp branch ## + - 'dev_review_babeltrace_{version}_{buildtype}': + version: ctf2 + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist, oot-dist] + confs: !!python/tuple [std, static, prod, min] + filter: '' + touchstone: '' + warnings_status: FAILED + - 'dev_review_babeltrace_{version}_{buildtype}': + version: ctf2 + buildtype: portbuild + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + filter: '' + touchstone: '' + warnings_status: FAILED + - 'dev_review_babeltrace_{version}_{buildtype}': + version: ctf2 + buildtype: macosbuild + platforms: !!python/tuple [macos-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [std, prod] + filter: '' + touchstone: '' + warnings_status: FAILED + - 'dev_review_babeltrace_{version}_{buildtype}': + version: ctf2 + buildtype: winbuild + platforms: !!python/tuple [cygwin64, msys2-ucrt64] builds: !!python/tuple [std] confs: !!python/tuple [std] filter: '' @@ -715,8 +745,8 @@ ## Stable 2.0 ## - 'dev_review_babeltrace_{version}_{buildtype}': version: stable-2.0 - buildtype: build - platforms: !!python/tuple [bionic-amd64] + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, static, prod, min] filter: '' @@ -734,7 +764,7 @@ - 'dev_review_babeltrace_{version}_{buildtype}': version: stable-2.0 buildtype: macosbuild - platforms: !!python/tuple [macos-amd64, macos-arm64] + platforms: !!python/tuple [macos-arm64] builds: !!python/tuple [std] confs: !!python/tuple [std, prod] filter: '' @@ -743,7 +773,7 @@ - 'dev_review_babeltrace_{version}_{buildtype}': version: stable-2.0 buildtype: winbuild - platforms: !!python/tuple [cygwin64, msys2-mingw64] + platforms: !!python/tuple [cygwin64, msys2-ucrt64] builds: !!python/tuple [std] confs: !!python/tuple [std] filter: '' @@ -752,13 +782,13 @@ ## ALL ## - 'dev_review_babeltrace_{version}_smokebuild': - platforms: !!python/tuple [jammy-amd64, deb12-amd64] + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [oot-dist] confs: !!python/tuple [std] filter: '' touchstone: '' - 'dev_review_babeltrace_{version}_check-format' - - 'dev_review_babeltrace_{version}_pylint' + - 'dev_review_babeltrace_{version}_lint' - project: @@ -772,7 +802,7 @@ jobs: - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: linuxbuild - platforms: !!python/tuple [jammy-amd64, deb12-amd64] + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, static, python-bindings] filter: '' @@ -786,7 +816,7 @@ touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: slesbuild - platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] builds: !!python/tuple [std] confs: !!python/tuple [std] filter: '' @@ -812,15 +842,15 @@ - stable-1.5-staging jobs: - '{job_prefix}babeltrace_{version}_{buildtype}': - buildtype: build - platforms: !!python/tuple [bionic-amd64] + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, static, python-bindings] filter: '' touchstone: '' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: macosbuild - platforms: !!python/tuple [macos-amd64, macos-arm64] + platforms: !!python/tuple [macos-arm64] builds: !!python/tuple [std] confs: !!python/tuple [std] filter: '' @@ -841,36 +871,20 @@ version: - master-staging - '{job_prefix}babeltrace_{version}_{buildtype}': - buildtype: build - platforms: !!python/tuple [bionic-amd64] + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, static, prod, min] filter: '' touchstone: '' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: macosbuild - platforms: !!python/tuple [macos-amd64, macos-arm64] + platforms: !!python/tuple [macos-arm64] builds: !!python/tuple [std] confs: !!python/tuple [std, prod] filter: '' touchstone: '' -- project: - name: babeltrace2-mjeanson - job_prefix: 'dev_mjeanson_' - github_user: efficios - github_name: babeltrace - email_to: "mjeanson@efficios.com" - version: - - master - jobs: - - '{job_prefix}babeltrace_{version}_{buildtype}': - buildtype: portbuild - platforms: !!python/tuple [sid-riscv64] - builds: !!python/tuple [std] - confs: !!python/tuple [std, prod] - filter: '' - touchstone: '' - project: name: babeltrace-views