diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d0b97be..f3b7ccb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,13 +14,23 @@ jobs: uses: actions/checkout@v3 - name: Update submodule run: git submodule update --init - - name: Building image and sdk + - name: Init env run: | - mkdir -p /build/conf - cp -v build/conf/*.conf /build/conf/ - ln -sf /build ci-build - cd poky && source oe-init-build-env ../ci-build + mkdir -p /build/cache + mkdir -p /build/downloads + mkdir -p /build/sstate-cache + 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 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