From 2d8dbe4a04bdaaff346dc3059a2859417ba75e43 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Tue, 10 Sep 2024 23:15:25 -0300 Subject: [PATCH] ci: add workflow for yocto-check-layer Add PR-based workflow for calling yocto-check-layer on meta-qcom-hwe. Signed-off-by: Ricardo Salveti --- .github/workflows/check-layer.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/check-layer.yml diff --git a/.github/workflows/check-layer.yml b/.github/workflows/check-layer.yml new file mode 100644 index 00000000..293bed51 --- /dev/null +++ b/.github/workflows/check-layer.yml @@ -0,0 +1,18 @@ +name: Yocto Check Layer + +on: + pull_request: + +jobs: + yocto-check-layer: + runs-on: [self-hosted, x86] + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Run yocto-check-layer + run: | + mkdir -p ../build + cd ../build + kas shell ../meta-qcom-hwe/ci/qcs6490-rb3gen2-core-kit.yml --command "yocto-check-layer-wrapper `pwd`/../meta-qcom-hwe --dependency `pwd`/poky/meta `pwd`/meta-qcom --no-auto-dependency"