Skip to content

Commit 7195c8b

Browse files
committed
workflows/build-yocto: add qcom-distro yml local override
yocto-run-checks pending! Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
1 parent f89e6e4 commit 7195c8b

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/workflows/build-yocto.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ jobs:
2929
chmod +x ${KAS_CONTAINER}
3030
3131
- uses: actions/checkout@v4
32+
with:
33+
repository: qualcomm-linux/meta-qcom
34+
ref: master
35+
36+
- uses: actions/checkout@v4
37+
with:
38+
path: meta-qcom-distro
39+
40+
- name: Prepare kas qcom-distro yml
41+
run: |
42+
# move meta-qcom-distro layer: from external repo to meta-qcom internal layer
43+
cp ci/qcom-distro.yml ci/qcom-distro-full.yml
44+
cp meta-qcom-distro/ci/qcom-distro.yml ci/
3245
3346
- name: Run kas lock
3447
run: |
@@ -45,6 +58,19 @@ jobs:
4558
runs-on: [self-hosted, qcom-u2404, amd64]
4659
steps:
4760
- uses: actions/checkout@v4
61+
with:
62+
repository: qualcomm-linux/meta-qcom
63+
ref: master
64+
65+
- uses: actions/checkout@v4
66+
with:
67+
path: meta-qcom-distro
68+
69+
- name: Prepare kas qcom-distro yml
70+
run: |
71+
# move meta-qcom-distro layer: from external repo to meta-qcom internal layer
72+
cp ci/qcom-distro.yml ci/qcom-distro-full.yml
73+
cp meta-qcom-distro/ci/qcom-distro.yml ci/
4874
4975
- uses: actions/download-artifact@v6
5076
with:
@@ -123,6 +149,19 @@ jobs:
123149
name: ${{ matrix.machine }}/${{ matrix.distro.name }}${{ matrix.kernel.dirname }}
124150
steps:
125151
- uses: actions/checkout@v4
152+
with:
153+
repository: qualcomm-linux/meta-qcom
154+
ref: master
155+
156+
- uses: actions/checkout@v4
157+
with:
158+
path: meta-qcom-distro
159+
160+
- name: Prepare kas qcom-distro yml
161+
run: |
162+
# move meta-qcom-distro layer: from external repo to meta-qcom internal layer
163+
cp ci/qcom-distro.yml ci/qcom-distro-full.yml
164+
cp meta-qcom-distro/ci/qcom-distro.yml ci/
126165
127166
- name: Run kas build
128167
uses: qualcomm-linux/meta-qcom/.github/actions/compile@master

ci/qcom-distro.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json
2+
3+
header:
4+
version: 14
5+
includes:
6+
- qcom-distro-full.yml
7+
8+
repos:
9+
meta-qcom-distro:
10+
layers:
11+
.: disabled
12+
13+
meta-qcom:
14+
layers:
15+
.:
16+
meta-qcom-distro:

0 commit comments

Comments
 (0)