|
7 | 7 | jobs:
|
8 | 8 | build:
|
9 | 9 | if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
10 |
| - name: Build ${{ matrix.port }} port |
11 | 10 | runs-on: ubuntu-latest
|
12 |
| - continue-on-error: true |
13 |
| - strategy: |
14 |
| - matrix: |
15 |
| - port: ['unix', 'esp32', 'stm32', 'rp2'] |
| 11 | + |
16 | 12 | steps:
|
17 | 13 | - uses: actions/checkout@v4
|
18 | 14 | - uses: ammaraskar/gcc-problem-matcher@master
|
19 |
| - - name: Install Dependencies |
20 |
| - run: | |
21 |
| - sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse" |
22 |
| - sudo apt-get update -y -qq |
23 |
| - sudo apt-get install --force-yes -y build-essential libffi-dev pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev |
24 |
| -
|
25 |
| - # STM32 & RPi Pico port |
26 |
| - - name: arm-none-eabi-gcc |
27 |
| - if: matrix.port == 'stm32' || matrix.port == 'rp2' |
28 |
| - uses: carlosperate/[email protected] |
29 |
| - with: |
30 |
| - release: '9-2019-q4' # The arm-none-eabi-gcc release to use. |
| 15 | + |
| 16 | + - name: Install Deps |
| 17 | + sudo apt-get install --force-yes -y build-essential pkg-config cmake ninja-build libffi-dev gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev |
| 18 | + |
| 19 | + - name: Build Unix port |
| 20 | + run: python3 make.py unix submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer |
| 21 | + |
| 22 | + - name: Build ESP32 port |
| 23 | + run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911 |
| 24 | + |
31 | 25 | - name: Build STM32 port
|
32 |
| - if: matrix.port == 'stm32' |
33 | 26 | run: python3 make.py stm32 submodules clean mpy_cross BOARD=STM32F7DISC DISPLAY=rgb_display INDEV=gt911
|
| 27 | + |
34 | 28 | - name: Build Raspberry Pi PICO port
|
35 |
| - if: matrix.port == 'rp2' |
36 | 29 | run: python3 make.py rp2 submodules clean mpy_cross BOARD=RPI_PICO DISPLAY=rgb_display INDEV=gt911
|
37 |
| - - name: Build ESP32 port |
38 |
| - if: matrix.port == 'esp32' |
39 |
| - run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911 |
40 |
| - # Unix port |
41 |
| - - name: Build Unix port |
42 |
| - if: matrix.port == 'unix' |
43 |
| - run: python3 make.py unix submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
44 | 34 |
|
0 commit comments