Update GitHub actions to use matrices (#389)

This commit is contained in:
Ken Van Hoeylandt
2025-10-25 22:34:30 +02:00
committed by GitHub
parent b067978c16
commit 37420db000
5 changed files with 51 additions and 265 deletions
+10 -13
View File
@@ -4,26 +4,23 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
types: [ opened, synchronize, reopened ]
permissions: read-all
jobs:
esp32:
build:
strategy:
matrix:
board: [
{ id: cyd-2432s028r, arch: esp32 },
{ id: lilygo-tdeck, arch: esp32s3 },
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Build"
uses: ./.github/actions/build-sdk
with:
board_id: cyd-2432s024c
arch: esp32
esp32s3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Build"
uses: ./.github/actions/build-sdk
with:
board_id: lilygo-tdeck
arch: esp32s3
board_id: ${{ matrix.board.id }}
arch: ${{ matrix.board.arch }}