Add a very experimental ESP32 CI
Fair warning: I have no experience with ESP32, so these binaries might just smoke and burn.
This commit is contained in:
parent
17ab523eb3
commit
0348ab915a
31
.github/workflows/esp32_port.yml
vendored
Normal file
31
.github/workflows/esp32_port.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: Build lv_micropython esp32 port
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: espressif/idf:release-v4.0
|
||||
strategy:
|
||||
matrix:
|
||||
board: [WROVER_SPIRAM]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set ESPIDF path
|
||||
run: echo "ESPIDF=$IDF_PATH" >> $GITHUB_ENV
|
||||
- name: Update submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Build mpy-cross
|
||||
run: make -j $(nproc) -C mpy-cross
|
||||
- name: Build ${{ matrix.board }}
|
||||
run: make -j $(nproc) -C ports/esp32 BOARD=${{ matrix.board }} LV_CFLAGS="-DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1"
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ env.GITHUB_EVENT_NAME }} == 'push'
|
||||
with:
|
||||
name: ${{ matrix.board }}.hex
|
||||
path: ports/esp32/build-${{ matrix.board }}/firmware.hex
|
||||
Loading…
x
Reference in New Issue
Block a user