diff --git a/.github/workflows/ports_esp32.yml b/.github/workflows/ports_esp32.yml new file mode 100644 index 000000000..b5107e748 --- /dev/null +++ b/.github/workflows/ports_esp32.yml @@ -0,0 +1,36 @@ +name: esp32 port + +on: + push: + pull_request: + paths: + - '.github/workflows/*.yml' + - 'tools/**' + - 'py/**' + - 'extmod/**' + - 'lib/**' + - 'drivers/**' + - 'ports/esp32/**' + +jobs: + build_idf402: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Initialize lv_bindings submodule + run: git submodule update --init --recursive lib/lv_bindings + - name: Install packages + run: source tools/ci.sh && ci_esp32_idf402_setup + - name: Build + run: source tools/ci.sh && ci_esp32_build + + build_idf43: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Initialize lv_bindings submodule + run: git submodule update --init --recursive lib/lv_bindings + - name: Install packages + run: source tools/ci.sh && ci_esp32_idf43_setup + - name: Build + run: source tools/ci.sh && ci_esp32_build diff --git a/lib/lv_bindings b/lib/lv_bindings index 856fcf46a..825081f90 160000 --- a/lib/lv_bindings +++ b/lib/lv_bindings @@ -1 +1 @@ -Subproject commit 856fcf46a2fa8212e3479e742a9020f228d45b80 +Subproject commit 825081f90801b1dab54b129fad1c76febe38f52a diff --git a/tools/ci.sh b/tools/ci.sh index d1d75d8d2..9f2452cac 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -110,9 +110,9 @@ function ci_esp32_build { make ${MAKEOPTS} -C ports/esp32 make ${MAKEOPTS} -C ports/esp32 clean make ${MAKEOPTS} -C ports/esp32 USER_C_MODULES=../../../examples/usercmodule/micropython.cmake FROZEN_MANIFEST=$(pwd)/ports/esp32/boards/manifest.py - if [ -d $IDF_PATH/components/esp32s2 ]; then - make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_S2 - fi + # if [ -d $IDF_PATH/components/esp32s2 ]; then + # make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_S2 + # fi } ########################################################################################