-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (34 loc) · 833 Bytes
/
main.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
36
37
38
39
40
41
42
43
name: C++ CI
on:
push:
branches:
- main
- 'dev_**'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/zephyrproject-rtos/ci:v0.26.5
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Environment
run: python scripts/pipeline-setup.py
- name: Build
run: west build -b my_custom_board -s app -p
test:
runs-on: ubuntu-latest
container: ghcr.io/zephyrproject-rtos/ci:v0.26.5
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Environment
run: python scripts/pipeline-setup.py
- name: Run Tests
run: west twister -T app/tests --integration