-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add new workflows for testing builds across various platforms
* Added nightly and manual workflows for Raspberry Pi 3 Mesa, Raspberry Pi 5, and Wandboard Mesa for stable and nightly builds. * Updated pull request workflow to separate builds and tests for Raspberry Pi 5 and other devices. * Introduced specific workflows for Freescale platforms with stable builds.
- Loading branch information
Showing
8 changed files
with
553 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Build tests for nightly | ||
on: | ||
schedule: | ||
# Runs at 3:00 AM UTC every day | ||
- cron: '0 3 * * *' | ||
|
||
jobs: | ||
scarthgap-repo: | ||
runs-on: [self-hosted, builder] | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/bitbake-repo | ||
with: | ||
repo_release: 'scarthgap' | ||
|
||
build-raspberrypi-nightly: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi3-mesa', 'raspberrypi5'] | ||
wpe_vers: ['nightly'] | ||
yocto_rel: ['scarthgap'] | ||
continue-on-error: true | ||
runs-on: [self-hosted, builder] | ||
needs: scarthgap-repo | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/bitbake-build | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
bitbake_source: 'poky-wayland layers.raspberrypi conf.wpe-${{ matrix.wpe_vers }} --update-config' | ||
repo_release: ${{ matrix.yocto_rel }} | ||
|
||
test-raspberrypi-nightly: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi3-mesa', 'raspberrypi5'] | ||
wpe_vers: ['nightly'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, podman] | ||
permissions: | ||
pull-requests: write | ||
needs: build-raspberrypi-nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/podman-robot | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.github_token }} | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
github_token: ${GITHUB_TOKEN} |
68 changes: 68 additions & 0 deletions
68
.github/workflows/test-build-raspberrypi3-mesa-nightly-manually.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Build tests raspberrypi3-mesa nightly manually | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
scarthgap-repo: | ||
runs-on: [self-hosted, builder] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/bitbake-repo | ||
with: | ||
repo_release: 'scarthgap' | ||
|
||
build-raspberrypi3-mesa-nightly: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi3-mesa'] | ||
wpe_vers: ['nightly'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, builder] | ||
needs: scarthgap-repo | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/bitbake-build | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
bitbake_source: 'poky-wayland layers.raspberrypi conf.wpe-${{ matrix.wpe_vers }} --update-config' | ||
repo_release: ${{ matrix.yocto_rel }} | ||
|
||
test-raspberrypi3-mesa-nightly: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi3-mesa'] | ||
wpe_vers: ['nightly'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, podman] | ||
permissions: | ||
pull-requests: write | ||
needs: build-raspberrypi3-mesa-nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/podman-robot | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.github_token }} | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
github_token: ${GITHUB_TOKEN} |
68 changes: 68 additions & 0 deletions
68
.github/workflows/test-build-raspberrypi3-mesa-stable-manually.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Build tests raspberrypi3-mesa stable manually | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
scarthgap-repo: | ||
runs-on: [self-hosted, builder] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/bitbake-repo | ||
with: | ||
repo_release: 'scarthgap' | ||
|
||
build-raspberrypi3-mesa-stable: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi3-mesa'] | ||
wpe_vers: ['2_46'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, builder] | ||
needs: scarthgap-repo | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/bitbake-build | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
bitbake_source: 'poky-wayland layers.raspberrypi conf.wpe-${{ matrix.wpe_vers }} --update-config' | ||
repo_release: ${{ matrix.yocto_rel }} | ||
|
||
test-raspberrypi3-mesa-stable: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi3-mesa'] | ||
wpe_vers: ['2_46'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, podman] | ||
permissions: | ||
pull-requests: write | ||
needs: build-raspberrypi3-mesa-stable | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/podman-robot | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.github_token }} | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
github_token: ${GITHUB_TOKEN} |
69 changes: 69 additions & 0 deletions
69
.github/workflows/test-build-raspberrypi5-nightly-manually.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Build tests raspberrypi5 nightly manually | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
scarthgap-repo: | ||
runs-on: [self-hosted, builder] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/bitbake-repo | ||
with: | ||
repo_release: 'scarthgap' | ||
|
||
build-raspberrypi5-nightly: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi5'] | ||
wpe_vers: ['nightly'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, builder] | ||
needs: scarthgap-repo | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/bitbake-build | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
bitbake_source: 'poky-wayland layers.raspberrypi conf.wpe-${{ matrix.wpe_vers }} --update-config' | ||
repo_release: ${{ matrix.yocto_rel }} | ||
|
||
test-raspberrypi5-nightly: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi5'] | ||
wpe_vers: ['nightly'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, podman] | ||
permissions: | ||
pull-requests: write | ||
needs: build-raspberrypi5-nightly | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/podman-robot | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.github_token }} | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
github_token: ${GITHUB_TOKEN} | ||
|
69 changes: 69 additions & 0 deletions
69
.github/workflows/test-build-raspberrypi5-stable-manually.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Build tests raspberrypi5 stable manually | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
scarthgap-repo: | ||
runs-on: [self-hosted, builder] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/bitbake-repo | ||
with: | ||
repo_release: 'scarthgap' | ||
|
||
build-raspberrypi5-stable: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi5'] | ||
wpe_vers: ['2_46'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, builder] | ||
needs: scarthgap-repo | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/bitbake-build | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
bitbake_source: 'poky-wayland layers.raspberrypi conf.wpe-${{ matrix.wpe_vers }} --update-config' | ||
repo_release: ${{ matrix.yocto_rel }} | ||
|
||
test-raspberrypi5-stable: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: ['raspberrypi5'] | ||
wpe_vers: ['2_46'] | ||
yocto_rel: ['scarthgap'] | ||
runs-on: [self-hosted, podman] | ||
permissions: | ||
pull-requests: write | ||
needs: build-raspberrypi5-stable | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/s3-configure | ||
env: | ||
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | ||
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | ||
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} | ||
with: | ||
access_key: ${S3_ACCESS_KEY} | ||
secret_key: ${S3_SECRET_KEY} | ||
host_base: ${S3_HOST_BASE} | ||
- uses: ./.github/actions/podman-robot | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.github_token }} | ||
with: | ||
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} | ||
bitbake_machine: ${{ matrix.machine }} | ||
github_token: ${GITHUB_TOKEN} | ||
|
Oops, something went wrong.