Skip to content

Commit b710400

Browse files
committed
different runs_on
Signed-off-by: Anas Nashif <[email protected]>
1 parent 04d7412 commit b710400

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/twister.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,23 @@ concurrency:
2222
jobs:
2323
twister-build-prep:
2424
if: github.repository_owner == 'zephyrproject-rtos'
25-
runs-on:
26-
group: zephyr-runner-v2-linux-x64-4xlarge
25+
runs-on: ${{ matrix.runs_on }}
26+
strategy:
27+
matrix:
28+
event: [push]
29+
include:
30+
- event: push
31+
runs_on: ubuntu-22.04
32+
container_image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
33+
container_options: '--entrypoint /bin/bash'
34+
- event: pull_request_target
35+
container_image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
36+
container_options: '--entrypoint /bin/bash'
37+
runs_on:
38+
group: zephyr-runner-v2-linux-x64-4xlarge
2739
container:
28-
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
29-
options: '--entrypoint /bin/bash'
40+
image: ${{matrix.container_image}}
41+
options: ${{matrix.container_options}}
3042
outputs:
3143
subset: ${{ steps.output-services.outputs.subset }}
3244
size: ${{ steps.output-services.outputs.size }}

0 commit comments

Comments
 (0)