-
Notifications
You must be signed in to change notification settings - Fork 6
68 lines (65 loc) · 2.38 KB
/
test-build.yml
File metadata and controls
68 lines (65 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Build tests Pull Request
on: [pull_request]
jobs:
scarthgap-repo:
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request'"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/bitbake-repo
with:
repo_release: 'scarthgap'
build-raspberrypi5-stable:
strategy:
fail-fast: false
matrix:
machine: ['raspberrypi5']
wpe_vers: ['nightly']
yocto_rel: ['scarthgap']
runs-on: [self-hosted, builder]
environment: Build Env
needs: scarthgap-repo
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-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 }}
build-raspberrypi-rest-stable:
strategy:
fail-fast: false
matrix:
machine: ['raspberrypi4-64-mesa']
wpe_vers: ['nightly']
yocto_rel: ['scarthgap']
runs-on: [self-hosted, builder]
if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request'"
needs: scarthgap-repo
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-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 }}