Commit 90eecd07 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis
Browse files

ci: twister: Use zephyr-runner

This commit updates the twister workflow to use the new Kubernetes-
based zephyr-runner.

Note that the repository cache directory path has been changed for the
new runner.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent 86f1c9cb
Loading
Loading
Loading
Loading
+4 −4
Changes for .github/workflows/twister.yaml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -19,12 +19,12 @@ concurrency:

jobs:
  twister-build-prep:
    runs-on: zephyr_runner
    runs-on: zephyr-runner-linux-x64-4xlarge
    container:
      image: zephyrprojectrtos/ci:v0.21.0
      options: '--entrypoint /bin/bash'
      volumes:
        - /home/runners/zephyrproject:/github/cache/zephyrproject
        - /repo-cache/zephyrproject:/github/cache/zephyrproject
    outputs:
      subset: ${{ steps.output-services.outputs.subset }}
      size: ${{ steps.output-services.outputs.size }}
@@ -102,14 +102,14 @@ jobs:
          echo "fullrun=${TWISTER_FULL}" >> $GITHUB_OUTPUT

  twister-build:
    runs-on: zephyr_runner
    runs-on: zephyr-runner-linux-x64-4xlarge
    needs: twister-build-prep
    if: needs.twister-build-prep.outputs.size != 0
    container:
      image: zephyrprojectrtos/ci:v0.21.0
      options: '--entrypoint /bin/bash'
      volumes:
        - /home/runners/zephyrproject:/github/cache/zephyrproject
        - /repo-cache/zephyrproject:/github/cache/zephyrproject
    strategy:
      fail-fast: false
      matrix: