Skip to content

Commit

Permalink
ci: build-yocto: set the KAS_WORK_DIR
Browse files Browse the repository at this point in the history
Set the KAS_WORK_DIR to a folder outside the repo.
Remove the build dir as it will be created by the oe-init-build-env script
and also the DL_DIR and SSTATE_DIR will be crated by bitbake if needed.

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Oct 17, 2024
1 parent cd9a286 commit afb7d39
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ jobs:
export CACHE_DIR=/srv/gh-runners/quic-yocto
export DL_DIR=${CACHE_DIR}/downloads
export SSTATE_DIR=${CACHE_DIR}/sstate-cache
mkdir -p $DL_DIR
mkdir -p $SSTATE_DIR
mkdir build
cd build
kas build ../ci/${{ matrix.machine }}.yml
export KAS_WORK_DIR=$(realpath $PWD/..)/kas
mkdir $KAS_WORK_DIR
kas build ci/${{ matrix.machine }}.yml

0 comments on commit afb7d39

Please sign in to comment.