Skip to content

Commit 30b0a75

Browse files
henrikbrixandersennashif
authored andcommitted
ci: build samples/cpp/hello_world as part of the multiplatform test
Build the C++ version of the Hello, World sample as part of the multiplatform (build) test in CI. Signed-off-by: Henrik Brix Andersen <[email protected]> (cherry picked from commit cd54388)
1 parent 1f93bd7 commit 30b0a75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/hello_world_multiplatform.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
elif [ "${{ runner.os }}" = "Windows" ]; then
6969
EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O/tmp/twister-out"
7070
fi
71-
./scripts/twister --force-color --inline-logs -T samples/hello_world -v $EXTRA_TWISTER_FLAGS
71+
./scripts/twister --force-color --inline-logs -T samples/hello_world -T samples/cpp/hello_world -v $EXTRA_TWISTER_FLAGS
7272
7373
- name: Upload artifacts
7474
if: failure()
@@ -77,3 +77,4 @@ jobs:
7777
if-no-files-found: ignore
7878
path:
7979
zephyr/twister-out/*/samples/hello_world/sample.basic.helloworld/build.log
80+
zephyr/twister-out/*/samples/cpp/hello_world/sample.cpp.helloworld/build.log

0 commit comments

Comments
 (0)