File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed
Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI - Fast
2+ on :
3+ workflow_dispatch :
4+ jobs :
5+ build-job :
6+ runs-on : ubuntu-latest
7+ container :
8+ image : ghcr.io/jaster-prj/devcontainer-zephyr-workspace:latest
9+ steps :
10+ - name : link workspace
11+ run : |
12+ ln -s /workspace ./zephyr_workspace
13+ - name : Clone Application
14+ uses : actions/checkout@v4
15+ with :
16+ path : ' ./zephyr_workspace/app'
17+ submodules : recursive
18+ - name : link custom boards
19+ working-directory : ./zephyr_workspace/app/custom_boards
20+ run : |
21+ ./link.sh
22+ - name : patch git
23+ working-directory : ./zephyr_workspace/zephyr
24+ run : |
25+ git apply ../.patch/gpio_pcf857x.patch
26+ - name : save gartennode.pem
27+ working-directory : ./zephyr_workspace/bootloader/mcuboot
28+ run : |
29+ echo "$PEM" | base64 --decode > gartennode.pem
30+ shell : bash
31+ env :
32+ PEM : ${{ secrets.ZEPHYR_SIGN_KEY }}
33+ - name : build app
34+ working-directory : ./zephyr_workspace
35+ run : |
36+ west build -b gartennode app --build-dir build -- -DEXTRA_CONF_FILE=prj.conf
37+ imgtool sign --header-size 0x200 --align 8 --version 1.2 --slot-size 0x30000 --key bootloader/mcuboot/gartennode.pem --pad build/zephyr/zephyr.bin signed_zephyr.bin
38+ - name : Publish binary
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : signed_zephyr
42+ path : zephyr_workspace/signed_zephyr.bin
You can’t perform that action at this time.
0 commit comments