File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ container : zephyrprojectrtos/ci:latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ with :
13+ path : example-application
14+
15+ - name : Cache Zephyr
16+ uses : actions/cache@v2
17+ with :
18+ path : |
19+ bootloader
20+ modules
21+ tools
22+ zephyr
23+ key : ${{ hashFiles('example-application/west.yml') }}
24+
25+ - name : Initialize
26+ working-directory : example-application
27+ run : |
28+ pip3 install -U west
29+ west init -l .
30+ west update
31+ pip3 install -r ../zephyr/scripts/requirements-base.txt
32+
33+ - name : Build firmware
34+ working-directory : example-application
35+ run : |
36+ west build -b custom_plank -s app
37+
38+ - name : Archive firmware
39+ uses : actions/upload-artifact@v2
40+ with :
41+ name : firmware
42+ path : example-application/build/zephyr/zephyr.*
You can’t perform that action at this time.
0 commit comments