-
Notifications
You must be signed in to change notification settings - Fork 240
47 lines (38 loc) · 1.19 KB
/
platformio.yml
File metadata and controls
47 lines (38 loc) · 1.19 KB
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
40
41
42
43
44
45
46
47
---
name: ESP32-BLE-Gamepad platformio CI
'on':
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]*"
branches:
- "master"
- "ci-builds-*"
pull_request:
workflow_dispatch:
concurrency:
# https://docs.github.com/en/actions/examples/using-concurrency-expressions-and-a-test-matrix
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/v') || github.ref != 'refs/heads/master' }}
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
board: [esp32dev, lolin_c3_mini, esp32s3]
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.13
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Build Test firmware for ${{ matrix.board }}
run: |
# pio run -d examples/TestAll/TestAll.ino -e ${{ matrix.board }} -D BLE_GAMEPAD_DEBUG=1 --verbose
cd test/ci_build
pio run -e ${{ matrix.board }}