-
Notifications
You must be signed in to change notification settings - Fork 38
39 lines (37 loc) · 1.48 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Micropython CI
on:
push:
pull_request:
jobs:
build:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
name: Build ${{ matrix.port }} port
runs-on: windows-latest
continue-on-error: true
strategy:
matrix:
port: ['windows', 'esp32', 'stm32', 'rp2']
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/gcc-problem-matcher@master
- name: Install Dependencies
run: python3 -m pip install pyMSVC
# STM32 & RPi Pico port
- name: arm-none-eabi-gcc
if: matrix.port == 'stm32' || matrix.port == 'rp2'
uses: carlosperate/[email protected]
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
- name: Build STM32 port
if: matrix.port == 'stm32'
run: python3 make.py stm32 submodules clean mpy_cross BOARD=STM32F7DISC DISPLAY=rgb_display INDEV=gt911
- name: Build Raspberry Pi PICO port
if: matrix.port == 'rp2'
run: python3 make.py rp2 submodules clean mpy_cross BOARD=PICO DISPLAY=rgb_display INDEV=gt911
- name: Build ESP32 port
if: matrix.port == 'esp32'
run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
# windows port
- name: Build Windows port
if: matrix.port == 'windows'
run: python3 make.py windows submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer