Add automated build of examples
This commit is contained in:
parent
568dce244a
commit
7d9527b6e1
29
.github/workflows/build_examples.yml
vendored
Normal file
29
.github/workflows/build_examples.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: 'build'
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
idf_ver: ["v4.1", "v4.2", "v4.3"]
|
||||
idf_target: ["esp32"]
|
||||
include:
|
||||
- idf_ver: "v4.2"
|
||||
idf_target: esp32s2
|
||||
- idf_ver: "v4.3"
|
||||
idf_target: esp32c3
|
||||
runs-on: ubuntu-20.04
|
||||
container: espressif/idf:release-${{ matrix.idf_ver }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build ESP examples
|
||||
env:
|
||||
IDF_TARGET: ${{ matrix.idf_target }}
|
||||
shell: bash
|
||||
run: |
|
||||
cd examples/wemos_lolin_oled/hello_world
|
||||
. ${IDF_PATH}/export.sh
|
||||
idf.py build
|
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
|||
[submodule "examples/common_components/lvgl"]
|
||||
path = examples/common_components/lvgl
|
||||
url = git@github.com:lvgl/lvgl.git
|
||||
url = https://github.com/lvgl/lvgl.git
|
||||
|
|
Loading…
Reference in a new issue