8000 Merge pull request #32 from amirgon/enable_esp32_ci · sidorenkom/micropython@ebc3758 · GitHub
[go: up one dir, main page]

Skip to content

Commit ebc3758

Browse files
authored
Merge pull request micropython#32 from amirgon/enable_esp32_ci
.github/workflows/ports_esp32.yml added back Updated lv_bindings with espidf.h bugfix Disabled ESP32-S2 because it is currently not supported by espidh.h and by native modules that rely on espidf.h such as modrtch.c
2 parents c4bf00a + 818b4ba commit ebc3758

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

.github/workflows/ports_esp32.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: esp32 port
2+
3+
on:
4+
push:
5+
pull_request:
6+
paths:
7+
- '.github/workflows/*.yml'
8+
- 'tools/**'
9+
- 'py/**'
10+
- 'extmod/**'
11+
- 'lib/**'
12+
- 'drivers/**'
13+
- 'ports/esp32/**'
14+
15+
jobs:
16+
build_idf402:
17+
runs-on: ubuntu-20.04
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Initialize lv_bindings submodule
21+
run: git submodule update --init --recursive lib/lv_bindings
22+
- name: Install packages
23+
run: source tools/ci.sh && ci_esp32_idf402_setup
24+
- name: Build
25+
run: source tools/ci.sh && ci_esp32_build
26+
27+
build_idf43:
28+
runs-on: ubuntu-20.04
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: Initialize lv_bindings submodule
32+
run: git submodule update --init --recursive lib/lv_bindings
33+
- name: Install packages
34+
run: source tools/ci.sh && ci_esp32_idf43_setup
35+
- name: Build
36+
run: source tools/ci.sh && ci_esp32_build

lib/lv_bindings

tools/ci.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ function ci_esp32_build {
110110
make ${MAKEOPTS} -C ports/esp32
111111
make ${MAKEOPTS} -C ports/esp32 clean
112112
make ${MAKEOPTS} -C ports/esp32 USER_C_MODULES=../../../examples/usercmodule/micropython.cmake FROZEN_MANIFEST=$(pwd)/ports/esp32/boards/manifest.py
113-
if [ -d $IDF_PATH/components/esp32s2 ]; then
114-
make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_S2
115-
fi
113+
# if [ -d $IDF_PATH/components/esp32s2 ]; then
114+
# make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_S2
115+
# fi
116116
}
117117

118118
########################################################################################

0 commit comments

Comments
 (0)
0