Skip to content

Commit e9cc6f3

Browse files
committed
CI: reduce pressure on build infrastructure
CI is having stability issues, most likely caused by the huge number of jobs trying to build and upload artifacts in parallel. Reduce the number of jobs being by merging two qcom-distro jobs into a single one and using special job for qcom-armv7a / qcom-distro builds. Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent c384815 commit e9cc6f3

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

.github/actions/compile/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ inputs:
1414
required: true
1515
kas:
1616
required: true
17+
target:
18+
required: false
1719
outputs:
1820
url:
1921
description: Location of the published binaries
@@ -51,7 +53,7 @@ runs:
5153
- name: Kas build images
5254
shell: bash
5355
run: |
54-
${{inputs.kas}} build ci/mirror.yml:ci/${{ inputs.machine }}.yml${{ inputs.distro_yaml }}${{ inputs.kernel_yaml }}
56+
env KAS_TARGET="${{inputs.target}}" ${{inputs.kas}} build ci/mirror.yml:ci/${{ inputs.machine }}.yml${{ inputs.distro_yaml }}${{ inputs.kernel_yaml }}
5557
ci/kas-container-shell-helper.sh ci/yocto-pybootchartgui.sh
5658
mv $KAS_WORK_DIR/build/buildchart.svg .
5759

.github/workflows/build-yocto.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ jobs:
7676
yamlfile: ""
7777
- name: qcom-distro
7878
yamlfile: ':ci/qcom-distro.yml'
79-
- name: qcom-distro-prop-image
80-
yamlfile: ':ci/qcom-distro-prop-image.yml'
8179
kernel:
8280
- type: default
8381
dirname: ""
@@ -120,8 +118,6 @@ jobs:
120118
yamlfile: ""
121119
- name: qcom-distro
122120
yamlfile: ':ci/qcom-distro.yml'
123-
- name: qcom-distro-prop-image
124-
yamlfile: ':ci/qcom-distro-prop-image.yml'
125121
kernel:
126122
- type: default
127123
dirname: ""
@@ -144,11 +140,20 @@ jobs:
144140
type: additional
145141
dirname: "+linux-yocto-lts"
146142
yamlfile: ":ci/linux-yocto-lts.yml"
143+
- machine: qcom-armv7a
144+
distro:
145+
name: qcom-distro
146+
yamlfile: ':ci/qcom-distro.yml'
147+
target: qcom-multimedia-image
148+
kernel:
149+
type: default
150+
dirname: ""
151+
yamlfile: ""
147152
exclude:
148153
# Incompatible builds
149154
- machine: qcom-armv7a
150155
distro:
151-
name: qcom-distro-prop-image
156+
name: qcom-distro
152157
name: ${{ matrix.machine }}/${{ matrix.distro.name }}${{ matrix.kernel.dirname }}
153158
steps:
154159
- uses: actions/checkout@v4
@@ -164,6 +169,7 @@ jobs:
164169
kernel_dirname: ${{matrix.kernel.dirname}}
165170
cache_dir: ${CACHE_DIR}
166171
kas: ${KAS_CONTAINER}
172+
target: ${{matrix.distro.target}}
167173

168174
create-output:
169175
needs: compile

ci/qcom-distro-prop-image.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

ci/qcom-distro.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ local_conf_header:
3535

3636
target:
3737
- qcom-multimedia-image
38+
- qcom-multimedia-proprietary-image

0 commit comments

Comments
 (0)