Skip to content

Commit

Permalink
ci: use runs-on group
Browse files Browse the repository at this point in the history
Use group instead of directly referencing runners.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Dec 11, 2024
1 parent a522719 commit e8a0826
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ concurrency:

jobs:
clang-build:
runs-on: zephyr-runner-v2-linux-x64-4xlarge
runs-on:
group: zephyr-runner-v2-linux-x64-4xlarge
container:
image: zephyrprojectrtos/ci:v0.18.4
options: '--entrypoint /bin/bash'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ concurrency:

jobs:
codecov:
runs-on: zephyr-runner-v2-linux-x64-4xlarge
runs-on:
group: zephyr-runner-v2-linux-x64-4xlarge
container:
image: zephyrprojectrtos/ci:v0.18.4
options: '--entrypoint /bin/bash'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ concurrency:

jobs:
twister-build-prep:
runs-on: zephyr-runner-v2-linux-x64-4xlarge
runs-on:
group: zephyr-runner-v2-linux-x64-4xlarge
container:
image: zephyrprojectrtos/ci:v0.18.4
options: '--entrypoint /bin/bash'
Expand Down Expand Up @@ -106,7 +107,8 @@ jobs:
echo "size=${size}" >> $GITHUB_OUTPUT
twister-build:
runs-on: zephyr-runner-v2-linux-x64-4xlarge
runs-on:
group: zephyr-runner-v2-linux-x64-4xlarge
needs: twister-build-prep
if: needs.twister-build-prep.outputs.size != 0
container:
Expand Down

0 comments on commit e8a0826

Please sign in to comment.