1- name : Zephyr OS BACnet Sample Builds
1+ permissions :
2+ contents : read
3+ name : Zephyr OS Samples
24# For Zephyr 3.7 LTS, use the v0.26-branch
35# or the latest v0.26.x release Docker image.
46# Docker image was built on Ubuntu 22.04
5-
67on :
78 push :
89 branches : [ "default" ]
1213 workflow_dispatch :
1314
1415jobs :
15- sample-hello-world :
16- name : Build Hello BACnet Stack
17- runs-on : ubuntu-22.04
18- container : ghcr.io/zephyrproject-rtos/ci:v0.26-branch
19- env :
20- CMAKE_PREFIX_PATH : /opt/toolchains
21- steps :
22- - name : Checkout
23- uses : actions/checkout@v4
24- with :
25- path : bacnet
26- - name : Initialize
27- working-directory : bacnet
28- run : |
29- west init -l .
30- west update
31- - name : Samples - Hello World
32- working-directory : bacnet
33- run : |
34- pwd
35- west build -p always -b native_posix ./zephyr/samples/hello_bacnet_stack
36- - name : Archive Firmware
37- uses : actions/upload-artifact@v4
38- with :
39- name : hello_bacnet_stack
40- path : bacnet/build
41-
42- sample-bacnet-profile-b-ss :
43- name : Build BACnet Sample Profile B-SS
44- runs-on : ubuntu-22.04
45- container : ghcr.io/zephyrproject-rtos/ci:v0.26-branch
46- env :
47- CMAKE_PREFIX_PATH : /opt/toolchains
48- steps :
49- - name : Checkout
50- uses : actions/checkout@v4
51- with :
52- path : bacnet
53- - name : Initialize
54- working-directory : bacnet
55- run : |
56- west init -l .
57- west update
58- - name : Sample - BACnet Profile B-SS
59- working-directory : bacnet
60- run : |
61- pwd
62- west build -b nucleo_f429zi -p always ./zephyr/samples/profiles/b-ss
63- - name : Archive Firmware
64- uses : actions/upload-artifact@v4
65- with :
66- name : b-ss
67- path : bacnet/build
68-
69- sample-bacnet-profile-b-sa :
70- name : Build BACnet Sample Profile B-SA
71- runs-on : ubuntu-22.04
72- container : ghcr.io/zephyrproject-rtos/ci:v0.26-branch
73- env :
74- CMAKE_PREFIX_PATH : /opt/toolchains
75- steps :
76- - name : Checkout
77- uses : actions/checkout@v4
78- with :
79- path : bacnet
80- - name : Initialize
81- working-directory : bacnet
82- run : |
83- west init -l .
84- west update
85- - name : Sample - BACnet Profile B-SA
86- working-directory : bacnet
87- run : |
88- pwd
89- west build -b nucleo_f429zi -p always ./zephyr/samples/profiles/b-sa
90- - name : Archive Firmware
91- uses : actions/upload-artifact@v4
92- with :
93- name : b-sa
94- path : bacnet/build
95-
96- sample-bacnet-profile-b-ld :
97- name : Build BACnet Sample Profile B-LD
16+ test :
17+ name : Twister Tests
9818 runs-on : ubuntu-22.04
9919 container : ghcr.io/zephyrproject-rtos/ci:v0.26-branch
10020 env :
@@ -109,40 +29,14 @@ jobs:
10929 run : |
11030 west init -l .
11131 west update
112- - name : Sample - BACnet Profile B-LD
32+ - name : Twister Tests samples
11333 working-directory : bacnet
11434 run : |
11535 pwd
116- west build -b nucleo_f429zi -p always ./zephyr/samples/profiles/b-ld
117- - name : Archive Firmware
118- uses : actions/upload-artifact@v4
119- with :
120- name : b-ld
121- path : bacnet/build
36+ ./samples.sh
12237
123- sample-bacnet-profile-b-ls :
124- name : Build BACnet Sample Profile B-LS
125- runs-on : ubuntu-22.04
126- container : ghcr.io/zephyrproject-rtos/ci:v0.26-branch
127- env :
128- CMAKE_PREFIX_PATH : /opt/toolchains
129- steps :
130- - name : Checkout
131- uses : actions/checkout@v4
132- with :
133- path : bacnet
134- - name : Initialize
135- working-directory : bacnet
136- run : |
137- west init -l .
138- west update
139- - name : Sample - BACnet Profile B-LS
140- working-directory : bacnet
141- run : |
142- pwd
143- west build -b nucleo_f429zi -p always ./zephyr/samples/profiles/b-ls
144- - name : Archive Firmware
38+ - name : Archive Test Results
14539 uses : actions/upload-artifact@v4
14640 with :
147- name : b-ls
148- path : bacnet/build
41+ name : samples
42+ path : bacnet/twister-out.samples
0 commit comments