From 7d9527b6e10eba96c34e1e523d31f03991f856b4 Mon Sep 17 00:00:00 2001 From: Tomas Rezucha Date: Wed, 11 Aug 2021 21:31:12 +0200 Subject: [PATCH] Add automated build of examples --- .github/workflows/build_examples.yml | 29 ++++++++++++++++++++++++++++ .gitmodules | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build_examples.yml diff --git a/.github/workflows/build_examples.yml b/.github/workflows/build_examples.yml new file mode 100644 index 0000000..6e040f9 --- /dev/null +++ b/.github/workflows/build_examples.yml @@ -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 diff --git a/.gitmodules b/.gitmodules index a88f44f..61a933b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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