28 lines
785 B
YAML
28 lines
785 B
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: Building image and sdk
|
|
run: |
|
|
mkdir -p /build/conf
|
|
cp -v build/conf/*.conf /build/conf/
|
|
export BSPDIR="$(pwd)"
|
|
export BB_ENV_WHITELIST="$BB_ENV_WHITELIST BSPDIR"
|
|
cd poky && source oe-init-build-env /build
|
|
printenv
|
|
cat conf/*.conf
|
|
bitbake core-image-base
|
|
bitbake core-image-base -c populate_sdk
|