fix(ci): use external locations for caches, tmp and downloads
Some checks failed
diya-opi-distrib / build (push) Failing after 10m44s
Some checks failed
diya-opi-distrib / build (push) Failing after 10m44s
This commit is contained in:
parent
799ac9407e
commit
526b0ec6eb
@ -14,13 +14,23 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Update submodule
|
- name: Update submodule
|
||||||
run: git submodule update --init
|
run: git submodule update --init
|
||||||
- name: Building image and sdk
|
- name: Init env
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /build/conf
|
mkdir -p /build/cache
|
||||||
cp -v build/conf/*.conf /build/conf/
|
mkdir -p /build/downloads
|
||||||
ln -sf /build ci-build
|
mkdir -p /build/sstate-cache
|
||||||
cd poky && source oe-init-build-env ../ci-build
|
mkdir -p /build/tmp
|
||||||
|
ln -sf /build/cache build/cache
|
||||||
|
ln -sf /build/downloads build/downloads
|
||||||
|
ln -sf /build/sstate-cache build/sstate-cache
|
||||||
|
ln -sf /build/tmp build/tmp
|
||||||
|
- name: build image for Orpi
|
||||||
|
run: |
|
||||||
|
cd poky && source oe-init-build-env ../build
|
||||||
printenv
|
printenv
|
||||||
cat conf/*.conf
|
cat conf/*.conf
|
||||||
bitbake core-image-base
|
bitbake core-image-base
|
||||||
|
- name: build sdk for Orpi
|
||||||
|
run: |
|
||||||
|
cd poky && source oe-init-build-env ../build
|
||||||
bitbake core-image-base -c populate_sdk
|
bitbake core-image-base -c populate_sdk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user