Skip to content

Commit 3a78b8a

Browse files
fabiobaltierinashif
authored andcommitted
github: hello_world_multiplatform: run on Ubuntu ARM
Add ubuntu-24.04-arm to the list of runners, while this runner is still flagged as being in beta, it's been around for more than one year and has been running for quite a long time in the action-zephyr-setup repository with no problems. Adding it to the list so we get some coverage of the Linux/ARM toolchain and setup, easy enough to get rid of it if it causes problems. Link: https://github.com/actions/partner-runner-images/ Link: https://github.blog/changelog/2024-06-24-github-actions-ubuntu-24-04-image-now-available-for-arm64-runners/ Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 193013a commit 3a78b8a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/hello_world_multiplatform.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, windows-2022]
31+
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-14, windows-2022]
3232
runs-on: ${{ matrix.os }}
3333
steps:
3434
- name: Checkout
@@ -72,6 +72,8 @@ jobs:
7272
EXTRA_TWISTER_FLAGS="-P native_sim --build-only"
7373
elif [ "${{ runner.os }}" = "Windows" ]; then
7474
EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O/tmp/twister-out"
75+
elif [ "${{ runner.os }}-${{ runner.arch }}" == "Linux-ARM64" ]; then
76+
EXTRA_TWISTER_FLAGS="--exclude-platform native_sim/native"
7577
fi
7678
./scripts/twister --runtime-artifact-cleanup --force-color --inline-logs -T samples/hello_world -T samples/cpp/hello_world -v $EXTRA_TWISTER_FLAGS
7779

0 commit comments

Comments
 (0)