Skip to content

Commit d97b1f8

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

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/twister.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,21 @@ 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+
- event: pull_request_target
33+
container_image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
34+
container_options: ""
35+
runs_on:
36+
group: zephyr-runner-v2-linux-x64-4xlarge
2737
container:
28-
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
29-
options: '--entrypoint /bin/bash'
38+
image: ${{matrix.container_image}}
39+
options: ${{matrix.container_options}}
3040
outputs:
3141
subset: ${{ steps.output-services.outputs.subset }}
3242
size: ${{ steps.output-services.outputs.size }}

0 commit comments

Comments
 (0)