ci(micropython) add rp2 port

Related: https://github.com/lvgl/lvgl/issues/2758#issuecomment-958912402
This commit is contained in:
embeddedt
2021-11-03 09:49:36 -04:00
committed by GitHub
parent d9d3f27126
commit 1ab5c9689f

View File

@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
port: ['unix', 'esp32', 'stm32'] port: ['unix', 'esp32', 'stm32', 'rp2']
steps: steps:
- uses: ammaraskar/gcc-problem-matcher@master - uses: ammaraskar/gcc-problem-matcher@master
- name: Install Dependencies - name: Install Dependencies
@@ -27,7 +27,7 @@ jobs:
- name: Update ${{ matrix.port }} port submodules - name: Update ${{ matrix.port }} port submodules
if: matrix.port != 'esp32' if: matrix.port != 'esp32'
# VARIANT needed for unix # VARIANT needed for unix
run: make -C ports/${{ matrix.port }} VARIANT=dev DEBUG=1 submodules run: make -C ports/${{ matrix.port }} VARIANT=dev DEBUG=1 USER_C_MODULES=../../lib/lv_bindings/bindings.cmake submodules
- name: Checkout LVGL submodule - name: Checkout LVGL submodule
working-directory: ./lib/lv_bindings/lvgl working-directory: ./lib/lv_bindings/lvgl
run: | run: |
@@ -48,16 +48,18 @@ jobs:
run: | run: |
source tools/ci.sh && ci_esp32_build source tools/ci.sh && ci_esp32_build
# STM32 port # STM32 & RPi Pico port
- name: arm-none-eabi-gcc - name: arm-none-eabi-gcc
if: matrix.port == 'stm32' if: matrix.port == 'stm32' || matrix.port == 'rp2'
uses: fiam/arm-none-eabi-gcc@v1 uses: fiam/arm-none-eabi-gcc@v1
with: with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use. release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
- name: Build STM32 port - name: Build STM32 port
if: matrix.port == 'stm32' if: matrix.port == 'stm32'
run: make -j $(nproc) -C ports/stm32 BOARD=STM32F7DISC run: make -j $(nproc) -C ports/stm32 BOARD=STM32F7DISC
- name: Build Raspberry Pi PICO port
if: matrix.port == 'rp2'
run: make -j $(nproc) -C ports/rp2 BOARD=PICO USER_C_MODULES=../../lib/lv_bindings/bindings.cmake
# Unix port # Unix port
- name: Build Unix port - name: Build Unix port
if: matrix.port == 'unix' if: matrix.port == 'unix'