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
triggers:
- gerrit: *babeltrace_trigger_gerrit_defaults
- node: 'bionic-amd64'
+ node: 'deb12-amd64'
builders:
- shell:
- job-template:
name: babeltrace_{version}_release
defaults: babeltrace
- node: 'bionic-amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
- job-template:
name: babeltrace_{version}_scan-build
defaults: babeltrace
- node: 'bionic-amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
- job-template:
name: babeltrace_{version}_coverity
defaults: babeltrace
- node: 'bionic-amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
- job-template:
name: babeltrace_{version}_pylint
defaults: babeltrace
- node: 'bionic-amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
- 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
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':
## 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: ''
## 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: ''
- 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: ''
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: ''
# Upload results
echo -e "\033[33;1mUploading Coverity Scan Analysis results...\033[0m"
-set +x
response=$(curl \
- --silent --write-out "\n%{http_code}\n" \
+ --write-out "\n%{http_code}\n" \
--form project="$COVERITY_SCAN_PROJECT_NAME" \
--form token="$COVERITY_SCAN_TOKEN" \
--form email="$COVERITY_SCAN_NOTIFICATION_EMAIL" \
--form version="$COVERITY_SCAN_VERSION" \
--form description="$COVERITY_SCAN_DESCRIPTION" \
"$UPLOAD_URL")
-set -x
status_code=$(echo "$response" | sed -n '$p')
if [ "${status_code:0:1}" == "2" ]; then
echo -e "\033[33;1mCoverity Scan upload successful.\033[0m"