Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
  • Loading branch information
priv-kweihmann committed Nov 12, 2024
1 parent d0bf51c commit 48cc85f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/nightly_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,6 @@ jobs:
with:
variable: SSTATE_DIR
value: /opt/build/sstate-cache
- name: build (glibc)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: glibc
- name: build (qemu-system)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
with:
target: qemu-system-native
- name: build (kernel)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
if: ${{ matrix.WITH_KERNEL }} == '1'
with:
target: linux-yocto-tiny
- name: build (sca-modules)
uses: priv-kweihmann/meta-sca-ci-utils/buildmodules@latest
with:
Expand Down
24 changes: 1 addition & 23 deletions test/buildntest
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,13 @@ _pwd=$(pwd)

trap "sed -i '$ d' ${_pwd}/conf/local.conf" EXIT

mods=$(${_thispath}/get_matching_mods $@)

echo "Check the following modules: ${mods}"

echo "SCA_AVAILABLE_MODULES = \"${mods}\"" >> ${_pwd}/conf/local.conf

_targets=$(${_thispath}/get_buildmodules $@)
if [ ! -z "${_targets}" ]; then
echo "Building the following recipes: ${_targets}"
if [ -z "${BUILDNTEST_PRESERVECACHE}" ]; then
bitbake ${_targets} -c cleansstate || exit 1
# Remove all previously exported files
for m in ${mods}; do
rm -rf ${_pwd}/tmp/deploy/images/*/sca/${m}/*
done
fi
bitbake ${_targets} || exit 1
if [ -z "${BUILDNTEST_NOSDK}" ]; then
bitbake nativesdk-sca-tools || exit 1
fi
fi

# test scabot implementation
if [ -z "${BUILDNTEST_NOSCABOT}" ]; then
bitbake python3-scabot-native
find tmp/work/x86_64-linux/python3-scabot-native/1.6.0/
bitbake python3-scabot-native -caddto_recipe_sysroot
oe-run-native python3-scabot-native scabot --help || exit 1
fi

if [ -z "${BUILDNTEST_NOTEST}" ]; then
${_thispath}/check_results ${_pwd}/tmp/deploy/images/*/sca ${mods} || exit 1
fi

0 comments on commit 48cc85f

Please sign in to comment.