Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 32 additions & 13 deletions .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
required: false
type: string
default: "0"
profile:
required: false
type: string
default: "full" # values: pr | full
outputs:
artifacts_url:
description: "URL to retrieve build artifacts"
Expand Down Expand Up @@ -104,22 +108,10 @@ jobs:
yamlfile: ""
- name: qcom-distro
yamlfile: ':ci/qcom-distro-prop-image.yml'
- name: qcom-distro-catchall
yamlfile: ':ci/qcom-distro-catchall.yml'
- name: debug
yamlfile: ':ci/qcom-distro-prop-image.yml:ci/debug.yml'
- name: performance
yamlfile: ':ci/qcom-distro-prop-image.yml:ci/performance.yml'
kernel:
- type: default
dirname: ""
yamlfile: ""
- type: 6.18
dirname: "_linux-qcom-6.18"
yamlfile: ":ci/linux-qcom-6.18.yml"
- type: rt-6.18-distro-kvm
dirname: "_linux-qcom-rt-6.18_qcom-distro-kvm"
yamlfile: ":ci/linux-qcom-rt-6.18.yml:ci/qcom-distro-kvm.yml"
name: ${{ matrix.machine }}/${{ matrix.distro.name }}${{ matrix.kernel.dirname }}
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -154,10 +146,12 @@ jobs:
- iq-x7181-evk
- kaanapali-mtp
- qcm6490-idp
- qcom-armv8a
- qcs615-ride
- qcs8300-ride-sx
- qcs9100-ride-sx
- rb1-core-kit
- rb3gen2-core-kit
- sm8750-mtp
distro:
- name: nodistro
Expand All @@ -180,6 +174,28 @@ jobs:
- type: rt-6.18-distro-kvm
dirname: "_linux-qcom-rt-6.18_qcom-distro-kvm"
yamlfile: ":ci/linux-qcom-rt-6.18.yml:ci/qcom-distro-kvm.yml"
exclude:
# Exclude jobs from compile_warm_up
- machine: qcom-armv8a
distro:
name: nodistro
kernel:
type: default
- machine: qcom-armv8a
distro:
name: qcom-distro
kernel:
type: default
- machine: rb3gen2-core-kit
distro:
name: nodistro
kernel:
type: default
- machine: rb3gen2-core-kit
distro:
name: qcom-distro
kernel:
type: default
include:
# Additional builds for specific machines
- machine: qcom-armv8a
Comment thread
ricardosalveti marked this conversation as resolved.
Expand Down Expand Up @@ -256,11 +272,14 @@ jobs:
yamlfile: ""
name: ${{ matrix.machine }}/${{ matrix.distro.name }}${{ matrix.kernel.dirname }}
Comment thread
quaresmajose marked this conversation as resolved.
steps:
- uses: actions/checkout@v6
- name: checkout
if: inputs.profile != 'pr' || (matrix.distro.name != 'debug' && matrix.distro.name != 'performance')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you not use github.event_name here , instead of making an additional inputs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For pr, yes, but I was thinking that having an extra argument makes it more explicit and also not bound to a potential event rename. We also expect to have a different permutation between nighly / weekly / monthly as well, so that could use the same input variable.

uses: actions/checkout@v6
with:
persist-credentials: false

- name: Run kas build
if: inputs.profile != 'pr' || (matrix.distro.name != 'debug' && matrix.distro.name != 'performance')
uses: ./.github/actions/compile
id: compile_kas
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ jobs:
path: ${{ github.event_path }}
build-pr:
uses: ./.github/workflows/build-yocto.yml
with:
profile: pr

Loading