Skip to content
Snippets Groups Projects

Enable ABI checker

Merged Pavel Zhukov requested to merge landgraf/oniro:abi_checker into kirkstone
Compare and
3 files
+ 35
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -162,6 +162,17 @@
@@ -162,6 +162,17 @@
| sed -e 's/^CI_ONIRO_BB_LOCAL_CONF_plus_equals_//g' -e 's/"/\\"/g' -e 's/=/ += "/g' -e 's/$/"/g' \
| sed -e 's/^CI_ONIRO_BB_LOCAL_CONF_plus_equals_//g' -e 's/"/\\"/g' -e 's/=/ += "/g' -e 's/$/"/g' \
| sort \
| sort \
| tee -a conf/local.conf )
| tee -a conf/local.conf )
 
# Variables in the form of '^CI_ONIRO_BB_BBLAYERS_CONF_plus_equals_attr' are
 
# converted to 'attr += "value"' and appended to bblayers.conf
 
# this is useful if layer has to be added but bitbake add-layer command cannot be used
 
# (for example this layer's class is inherited via local.conf already)
 
- |
 
( set +o pipefail;
 
env \
 
| grep -E '^CI_ONIRO_BB_BBLAYERS_CONF_plus_equals_[A-Z_0-9]+=' \
 
| sed -e 's/^CI_ONIRO_BB_BBLAYERS_CONF_plus_equals_//g' -e 's/"/\\"/g' -e 's/=/ += "/g' -e 's/$/"/g' \
 
| sort \
 
| tee -a conf/bblayers.conf )
# Sanity check: disallow using public build cache with a specific setting
# Sanity check: disallow using public build cache with a specific setting
# in local.conf. The list of settings may grow over time.
# in local.conf. The list of settings may grow over time.
@@ -275,6 +286,10 @@
@@ -275,6 +286,10 @@
done
done
)
)
fi
fi
 
# Compress and copy artifacts of do_abicheck task (if any)
 
if test -n "$CI_ONIRO_ABICHECK_TOPDIR" && test -d "$BITBAKE_TMPDIR"/../"$CI_ONIRO_ABICHECK_TOPDIR"; then
 
tar -cJf "$CI_PROJECT_DIR"/artifacts/abicheck-"$CI_COMMIT_SHA".tar.xz "$BITBAKE_TMPDIR"/../"$CI_ONIRO_ABICHECK_TOPDIR"/*/*/binaryaudit
 
fi
set +x
set +x
artifacts:
artifacts:
paths:
paths:
@@ -399,6 +414,14 @@
@@ -399,6 +414,14 @@
.build:
.build:
extends: .build-recipe
extends: .build-recipe
 
.check-abi:
 
variables:
 
CI_ONIRO_BB_LOCAL_CONF_plus_equals_INHERIT: abicheck
 
CI_ONIRO_BB_LOCAL_CONF_BINARY_AUDIT_WARN_ONLY: "1"
 
CI_ONIRO_MANIFEST_NAME: manifests/ci.xml
 
CI_ONIRO_BB_BBLAYERS_CONF_plus_equals_BBLAYERS: "../meta-binaryaudit"
 
CI_ONIRO_ABICHECK_TOPDIR: "./buildhistory/packages"
 
# This job is documented in docs/ci/hidden-jobs/build-docs.rst
# This job is documented in docs/ci/hidden-jobs/build-docs.rst
.build-docs:
.build-docs:
interruptible: true
interruptible: true
Loading