Improve compatibility between OCPP 2.0.1 and 1.6 APIs #395
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# matth-x/MicroOcpp | |
# Copyright Matthias Akstaller 2019 - 2024 | |
# MIT License | |
name: ESP-IDF CI | |
on: | |
push: | |
branches: | |
- main | |
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: v1.2.0 | |
path: examples/ESP-IDF/components/MicroOcppMongoose | |
- name: Checkout ArduinoJson | |
uses: actions/checkout@v3 | |
with: | |
repository: bblanchon/ArduinoJson | |
ref: 3e1be980d93e47b2a0073efeeb9a9396fd7a83be | |
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' |