changes some things in windows build #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: macos-latest | |
continue-on-error: true | |
strategy: | |
matrix: | |
port: ['macOS', 'esp32', 'stm32', 'rp2'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ammaraskar/gcc-problem-matcher@master | |
- name: Install Dependencies | |
run: brew install --force gcc libffi cmake ninja make | |
# 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 | |
# macOS port | |
- name: Build macOS port | |
if: matrix.port == 'macOS' | |
run: python3 make.py macOS submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer | |