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
+ 29
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -162,6 +162,13 @@
@@ -162,6 +162,13 @@
| 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 )
 
- |
 
( 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.
@@ -211,7 +218,7 @@
@@ -211,7 +218,7 @@
- !reference [.bitbake-workspace, script]
- !reference [.bitbake-workspace, script]
- |
- |
for target in $CI_ONIRO_BITBAKE_TARGETS; do
for target in $CI_ONIRO_BITBAKE_TARGETS; do
time bitbake "$target"
time bitbake "$CI_ONIRO_BITBAKE_ARGS" "$target"
du -sh tmp
du -sh tmp
done
done
@@ -236,7 +243,7 @@
@@ -236,7 +243,7 @@
- !reference [.bitbake-workspace, script]
- !reference [.bitbake-workspace, script]
- |
- |
for target in $CI_ONIRO_BITBAKE_TARGETS; do
for target in $CI_ONIRO_BITBAKE_TARGETS; do
time bitbake "$target"
time bitbake "$CI_ONIRO_BITBAKE_ARGS" "$target"
done
done
# This job is documented in docs/ci/hidden-jobs/build-freertos.rst
# This job is documented in docs/ci/hidden-jobs/build-freertos.rst
@@ -248,7 +255,7 @@
@@ -248,7 +255,7 @@
CI_ONIRO_BB_LOCAL_CONF_plus_equals_CVE_CHECK_CREATE_MANIFEST: "0"
CI_ONIRO_BB_LOCAL_CONF_plus_equals_CVE_CHECK_CREATE_MANIFEST: "0"
script:
script:
- !reference [.bitbake-workspace, script]
- !reference [.bitbake-workspace, script]
- time bitbake freertos-demo
- time bitbake "$CI_ONIRO_BITBAKE_ARGS" freertos-demo
# This job is documented in docs/ci/hidden-jobs/build-recipe.rst
# This job is documented in docs/ci/hidden-jobs/build-recipe.rst
.build-recipe:
.build-recipe:
@@ -257,7 +264,7 @@
@@ -257,7 +264,7 @@
CI_ONIRO_RECIPE_NAME: ""
CI_ONIRO_RECIPE_NAME: ""
script:
script:
- !reference [.bitbake-workspace, script]
- !reference [.bitbake-workspace, script]
- time bitbake "$CI_ONIRO_RECIPE_NAME"
- time bitbake "$CI_ONIRO_BITBAKE_ARGS" "$CI_ONIRO_RECIPE_NAME"
# This job is documented in docs/ci/hidden-jobs/build-image.rst
# This job is documented in docs/ci/hidden-jobs/build-image.rst
.build-image:
.build-image:
@@ -407,6 +414,13 @@
@@ -407,6 +414,13 @@
.build:
.build:
extends: .build-recipe
extends: .build-recipe
 
.check-abi:
 
variables:
 
CI_ONIRO_BB_LOCAL_CONF_plus_equals_INHERIT: abicheck
 
CI_ONIRO_MANIFEST_NAME: manifests/ci.xml
 
CI_ONIRO_BB_BBLAYERS_CONF_plus_equals_BBLAYERS: "../meta-binaryaudit"
 
CI_ONIRO_BITBAKE_ARGS: " -c abicheck "
 
# 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