-
Notifications
You must be signed in to change notification settings - Fork 157
49 lines (44 loc) · 1.27 KB
/
esp-idf.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
47
48
49
name: ESP-IDF CI
on:
push:
branches:
- master
- develop
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout ESP-IDF example folder structure
uses: actions/checkout@v3
with:
sparse-checkout: examples/ESP-IDF
- name: Clean sumodules folders template
run: rm -r ./examples/ESP-IDF/components/*
- name: Checkout main repo
uses: actions/checkout@v3
with:
path: examples/ESP-IDF/components/MicroOcpp
- name: Checkout Mongoose
uses: actions/checkout@v3
with:
repository: cesanta/mongoose-esp-idf
path: examples/ESP-IDF/components/mongoose
submodules: 'recursive'
- name: Checkout Mongoose WS adapter
uses: actions/checkout@v3
with:
repository: matth-x/MicroOcppMongoose
ref: 642006f0629b715dce44a913a5c4b77f3f8953bb
path: examples/ESP-IDF/components/MicroOcppMongoose
- name: Checkout ArduinoJson
uses: actions/checkout@v3
with:
repository: bblanchon/ArduinoJson
path: examples/ESP-IDF/components/ArduinoJson
- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4
target: esp32
path: './examples/ESP-IDF'