-
-
Notifications
You must be signed in to change notification settings - Fork 12
46 lines (40 loc) · 912 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
36
37
38
39
40
41
42
43
44
45
46
name: Build
on:
pull_request:
branches: [main]
paths:
- 'components/*'
- 'main/*'
- 'sdkconfig.defaults'
- 'partitions.csv'
- '.github/workflows/build.yml'
push:
branches: [main]
paths:
- 'components/*'
- 'main/*'
- 'sdkconfig.defaults'
- 'partitions.csv'
- '.github/workflows/build.yml'
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
test:
- path: '.'
target: esp32s3
- path: 'components/box-emu/example'
target: esp32s3
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build Examples
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: release-v5.2
target: ${{matrix.test.target}}
path: ${{matrix.test.path}}