diff --git a/.github/workflows/build-yocto.yml b/.github/workflows/build-yocto.yml index 1c555ce21..2b2b082b8 100644 --- a/.github/workflows/build-yocto.yml +++ b/.github/workflows/build-yocto.yml @@ -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" @@ -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 @@ -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 @@ -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 @@ -256,11 +272,14 @@ jobs: yamlfile: "" name: ${{ matrix.machine }}/${{ matrix.distro.name }}${{ matrix.kernel.dirname }} steps: - - uses: actions/checkout@v6 + - name: checkout + if: inputs.profile != 'pr' || (matrix.distro.name != 'debug' && matrix.distro.name != 'performance') + 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: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fe893ef18..4a506eba2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -25,4 +25,6 @@ jobs: path: ${{ github.event_path }} build-pr: uses: ./.github/workflows/build-yocto.yml + with: + profile: pr