Skip to content

Commit

Permalink
build-yocto: cleanup sstate-cache
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Oct 25, 2024
1 parent 26b6787 commit 0001c52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
compile:
needs: kas-lock
strategy:
max-parallel: 1
fail-fast: true
matrix:
machine:
Expand All @@ -69,3 +70,8 @@ jobs:
export KAS_WORK_DIR=$PWD/../kas
mkdir $KAS_WORK_DIR
kas build ci/mirror.yml:ci/${{ matrix.machine }}.yml
SSTATE_CACHE_MANAGEMENT="${KAS_WORK_DIR}/poky/scripts/sstate-cache-management.py --cache-dir ${SSTATE_DIR} --remove-duplicated --remove-orphans --debug"
#FIXME: only to check, when done remove the "echo no" and add the "--yes" arg
#SSTATE_CACHE_MANAGEMENT="$SSTATE_CACHE_MANAGEMENT --yes"
SSTATE_CACHE_MANAGEMENT="echo no | $SSTATE_CACHE_MANAGEMENT"
kas shell ci/${{ matrix.machine }}.yml --command "$SSTATE_CACHE_MANAGEMENT"

0 comments on commit 0001c52

Please sign in to comment.