diff --git a/.github/workflows/merge-main.yml b/.github/workflows/build-yocto.yml similarity index 90% rename from .github/workflows/merge-main.yml rename to .github/workflows/build-yocto.yml index 6d46d8c7..541e8d20 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/build-yocto.yml @@ -1,12 +1,13 @@ -name: Push Build +name: Build Yocto on: + pull_request: push: branches: - main jobs: - kas: + compile: strategy: fail-fast: true matrix: @@ -21,7 +22,7 @@ jobs: with: fetch-depth: 0 - - name: kas build + - name: Kas build run: | export DL_DIR=/srv/gh-runners/quic-yocto/downloads export SSTATE_DIR=/srv/gh-runners/quic-yocto/sstate-cache diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml deleted file mode 100644 index 8c017048..00000000 --- a/.github/workflows/pull-request.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: PR Build - -on: - pull_request: - -jobs: - kas: - strategy: - fail-fast: true - matrix: - machine: - - qcm6490-idp - - qcs6490-rb3gen2-core-kit - - sa8775p-ride-sx - runs-on: [self-hosted, x86] - name: ${{ matrix.machine }}/poky/systemd - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: kas build - run: | - export DL_DIR=/srv/gh-runners/quic-yocto/downloads - export SSTATE_DIR=/srv/gh-runners/quic-yocto/sstate-cache - mkdir -p $DL_DIR - mkdir -p $SSTATE_DIR - mkdir build - cd build - kas build ../ci/${{ matrix.machine }}.yml