From 7a5166dcf1f3ec319df453f9db1f0b5c407b4902 Mon Sep 17 00:00:00 2001 From: dany Date: Sat, 22 Mar 2025 22:13:29 +0100 Subject: [PATCH] add build instruction for qemux86-64 --- .gitea/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f295a9e..126ef2b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,6 +8,7 @@ jobs: container: volumes: - /home/yocto-build:/build + # options: --cpus 2.5 timeout-minutes: 480 steps: - name: Check out repository code @@ -20,7 +21,8 @@ jobs: echo "DL_DIR = \"/build/download\"" >> build/conf/local.conf echo "TMPDIR = \"/build/diya-opi-distrib\"" >> build/conf/local.conf echo "SSTATE_DIR = \"/build/sstate\"" >> build/conf/local.conf - + # echo "BB_NUMBER_THREADS = \"2\"" >> build/conf/local.conf + # echo "PARALLEL_MAKE = \"-j 2\"" >> build/conf/local.conf - name: build image for Orpi run: | cd poky && source oe-init-build-env ../build @@ -31,3 +33,11 @@ jobs: run: | cd poky && source oe-init-build-env ../build bitbake core-image-base -c populate_sdk + - name: build x86_64 qemu image + run: | + cd poky && source oe-init-build-env ../build + MACHINE=qemux86-64 bitbake core-image-base + - name: build x86_64 qemu sdk + run: | + cd poky && source oe-init-build-env ../build + MACHINE=qemux86-64 bitbake core-image-base -c populate_sdk