generated from beriberikix/zephyr-vscode-example
-
Notifications
You must be signed in to change notification settings - Fork 3
31 lines (27 loc) · 829 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2
env:
CMAKE_PREFIX_PATH: /opt/toolchains
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
steps:
- name: Clone the repo
run: |
west init -m https://github.com/kaizoku-oh/zephyr-app-workspace --mr $BRANCH_NAME workspace
cd workspace
west update
- name: Build bootloader
working-directory: workspace
run: |
west build deps/bootloader/mcuboot/boot/zephyr -d deps/bootloader/mcuboot/boot/zephyr/build -b nucleo_f767zi
- name: Build application
working-directory: workspace
run: |
west build app -d app/build -b nucleo_f767zi