Change-Id: I1b62397b3fa458fbb814e17093b915ae45dfbdf7
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
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
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
conf=std
build=std
- shell: |
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
+ 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
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
triggers:
- gerrit: *babeltrace_trigger_gerrit_defaults
- job-template:
name: babeltrace_{version}_release
defaults: babeltrace
- job-template:
name: babeltrace_{version}_release
defaults: babeltrace
- job-template:
name: babeltrace_{version}_scan-build
defaults: babeltrace
- job-template:
name: babeltrace_{version}_scan-build
defaults: babeltrace
- job-template:
name: babeltrace_{version}_coverity
defaults: babeltrace
- job-template:
name: babeltrace_{version}_coverity
defaults: babeltrace
- job-template:
name: babeltrace_{version}_pylint
defaults: babeltrace
- job-template:
name: babeltrace_{version}_pylint
defaults: babeltrace
- job-template:
name: '{job_prefix}babeltrace_{version}_glib-2.28.6'
defaults: babeltrace
- job-template:
name: '{job_prefix}babeltrace_{version}_glib-2.28.6'
defaults: babeltrace
<<: *babeltrace_builders_glib-2-28-6
<<: *babeltrace_publishers_defaults
<<: *babeltrace_builders_glib-2-28-6
<<: *babeltrace_publishers_defaults
touchstone: ''
- 'babeltrace_{version}_{cctype}':
cctype: clangbuild
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]
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':
filter: ''
touchstone: ''
- 'babeltrace_{version}_release':
## Master ##
- 'dev_review_babeltrace_{version}_{buildtype}':
version: master
## 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: ''
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
## 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: ''
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}':
- 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: ''
builds: !!python/tuple [std, oot, dist, oot-dist]
confs: !!python/tuple [std, static, python-bindings]
filter: ''
version:
- master-staging
- '{job_prefix}babeltrace_{version}_{buildtype}':
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: ''
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"
# Upload results
echo -e "\033[33;1mUploading Coverity Scan Analysis results...\033[0m"
- --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 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")
--form version="$COVERITY_SCAN_VERSION" \
--form description="$COVERITY_SCAN_DESCRIPTION" \
"$UPLOAD_URL")
status_code=$(echo "$response" | sed -n '$p')
if [ "${status_code:0:1}" == "2" ]; then
echo -e "\033[33;1mCoverity Scan upload successful.\033[0m"
status_code=$(echo "$response" | sed -n '$p')
if [ "${status_code:0:1}" == "2" ]; then
echo -e "\033[33;1mCoverity Scan upload successful.\033[0m"