generated from zephyrproject-rtos/example-application
-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (30 loc) · 784 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
32
33
34
35
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
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: example-application
- name: Initialize
working-directory: example-application
run: |
west init -l .
west update -o=--depth=1 -n
- name: Build firmware
working-directory: example-application
run: |
west twister -T app -v --inline-logs --integration
- name: Twister Tests
working-directory: example-application
run: |
west twister -T tests --integration