|
1 | 1 | name: Build tests
|
2 | 2 | on: [pull_request]
|
3 | 3 | jobs:
|
4 |
| - scarthgap-repo: |
5 |
| - runs-on: [self-hosted, builder] |
6 |
| - if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request'" |
7 |
| - steps: |
8 |
| - - uses: actions/checkout@v3 |
9 |
| - - uses: ./.github/actions/s3-configure |
10 |
| - env: |
11 |
| - S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} |
12 |
| - S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} |
13 |
| - S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }} |
14 |
| - with: |
15 |
| - access_key: ${S3_ACCESS_KEY} |
16 |
| - secret_key: ${S3_SECRET_KEY} |
17 |
| - host_base: ${S3_HOST_BASE} |
18 |
| - - uses: ./.github/actions/bitbake-repo |
19 |
| - with: |
20 |
| - repo_release: 'scarthgap' |
21 |
| - |
22 |
| - build-raspberrypi-stable: |
23 |
| - strategy: |
24 |
| - fail-fast: false |
25 |
| - matrix: |
26 |
| - machine: ['raspberrypi3-mesa', 'raspberrypi4-64-mesa', 'raspberrypi5'] |
27 |
| - wpe_vers: ['2_46'] |
28 |
| - yocto_rel: ['scarthgap'] |
29 |
| - runs-on: [self-hosted, builder] |
30 |
| - if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request'" |
31 |
| - needs: scarthgap-repo |
32 |
| - steps: |
33 |
| - - uses: actions/checkout@v3 |
34 |
| - - uses: ./.github/actions/bitbake-build |
35 |
| - with: |
36 |
| - bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} |
37 |
| - bitbake_machine: ${{ matrix.machine }} |
38 |
| - bitbake_source: 'poky-wayland layers.raspberrypi conf.wpe-${{ matrix.wpe_vers }} --update-config' |
39 |
| - repo_release: ${{ matrix.yocto_rel }} |
40 |
| - |
41 | 4 | test-raspberrypi-stable:
|
| 5 | + if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request'" |
42 | 6 | strategy:
|
43 | 7 | fail-fast: false
|
44 | 8 | matrix:
|
|
48 | 12 | runs-on: [self-hosted, podman]
|
49 | 13 | permissions:
|
50 | 14 | pull-requests: write
|
51 |
| - needs: build-raspberrypi-stable |
52 | 15 | steps:
|
53 | 16 | - uses: actions/checkout@v3
|
54 | 17 | - uses: ./.github/actions/s3-configure
|
|
61 | 24 | secret_key: ${S3_SECRET_KEY}
|
62 | 25 | host_base: ${S3_HOST_BASE}
|
63 | 26 | - uses: ./.github/actions/podman-robot
|
64 |
| - env: |
65 |
| - GITHUB_TOKEN: ${{ secrets.github_token }} |
66 | 27 | with:
|
67 | 28 | bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }}
|
68 | 29 | bitbake_machine: ${{ matrix.machine }}
|
69 |
| - github_token: ${GITHUB_TOKEN} |
70 | 30 |
|
71 |
| - build-raspberrypi-nightly: |
72 |
| - strategy: |
73 |
| - fail-fast: false |
74 |
| - matrix: |
75 |
| - machine: ['raspberrypi3-mesa', 'raspberrypi4-64-mesa', 'raspberrypi5'] |
76 |
| - wpe_vers: ['nightly'] |
77 |
| - yocto_rel: ['scarthgap'] |
78 |
| - continue-on-error: true |
79 |
| - runs-on: [self-hosted, builder] |
80 |
| - if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request' && !github.event.pull_request.draft" |
81 |
| - needs: scarthgap-repo |
82 |
| - steps: |
83 |
| - - uses: actions/checkout@v3 |
84 |
| - - uses: ./.github/actions/bitbake-build |
85 |
| - with: |
86 |
| - bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} |
87 |
| - bitbake_machine: ${{ matrix.machine }} |
88 |
| - bitbake_source: 'poky-wayland layers.raspberrypi conf.wpe-${{ matrix.wpe_vers }} --update-config' |
89 |
| - repo_release: ${{ matrix.yocto_rel }} |
90 |
| - |
91 |
| - build-freescale: |
92 |
| - strategy: |
93 |
| - fail-fast: false |
94 |
| - matrix: |
95 |
| - machine: ['wandboard-mesa'] |
96 |
| - wpe_vers: ['2_46', 'nightly'] |
97 |
| - yocto_rel: ['scarthgap'] |
98 |
| - continue-on-error: true |
99 |
| - runs-on: [self-hosted, builder] |
100 |
| - if: "!contains(github.event.head_commit.message, 'ci skip') && github.event_name == 'pull_request' && !github.event.pull_request.draft" |
101 |
| - needs: scarthgap-repo |
102 |
| - steps: |
103 |
| - - uses: actions/checkout@v3 |
104 |
| - - uses: ./.github/actions/bitbake-build |
105 |
| - with: |
106 |
| - bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }} |
107 |
| - bitbake_machine: ${{ matrix.machine }} |
108 |
| - bitbake_source: 'poky-wayland layers.freescale conf.wpe-${{ matrix.wpe_vers }} --update-config' |
109 |
| - repo_release: ${{ matrix.yocto_rel }} |
110 | 31 |
|
0 commit comments