dany 535009d5f1
Some checks failed
diya-opi-distrib / build (push) Has been cancelled
Update .gitea/workflows/ci.yml
2025-03-22 12:45:36 +01:00

37 lines
1.1 KiB
YAML

name: diya-opi-distrib
run-name: Building diya-opi-distrib
on: [push]
jobs:
build:
runs-on: ci-yocto-jammy
container:
volumes:
- /home/yocto-build/diya-opi-distrib:/build
timeout-minutes: 480
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Update submodule
run: git submodule update --init
- name: Init env
run: |
mkdir -p /build/downloads
mkdir -p /build/sstate-cache
mkdir -p /build/tmp
echo "" >> build/conf/local.conf
echo "DL_DIR = \"/build/downloads\"" >> build/conf/local.conf
echo "TMPDIR = \"/build/tmp\"" >> build/conf/local.conf
echo "SSTATE_DIR = \"/build/sstate-cache\"" >> build/conf/local.conf
- name: build image for Orpi
run: |
cd poky && source oe-init-build-env ../build
printenv
cat conf/*.conf
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