-
-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (42 loc) · 1.6 KB
/
DBTFT-pio-build.yml
File metadata and controls
51 lines (42 loc) · 1.6 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
48
49
50
51
name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
pip install --upgrade intelhex
- name: Build PlatformIO Project D1
run: pio ci -c ./examples/DBTFT/platformio.ini -e d1_mini --build-dir /tmp/pio-build --keep-build-dir ./examples/DBTFT/src
- name: Upload esp8266
uses: actions/upload-artifact@v4
with:
name: ESP8266-ILI9341
path: /tmp/pio-build/.pio/build/d1_mini/firmware.bin
- name: Build PlatformIO Project CYD 9341
run: pio ci -c ./examples/DBTFT/platformio.ini -e 2432s028r --build-dir /tmp/pio-build --keep-build-dir ./examples/DBTFT/src
- name: Upload CYD-ILI9341
uses: actions/upload-artifact@v4
with:
name: CYD-ILI9341
path: /tmp/pio-build/.pio/build/2432s028r/firmware.bin
- name: Build PlatformIO Project CYD 7798
run: pio ci -c ./examples/DBTFT/platformio.ini -e 2432s028r_dualusb --build-dir /tmp/pio-build --keep-build-dir ./examples/DBTFT/src
- name: Upload CYD-ST7798
uses: actions/upload-artifact@v4
with:
name: CYD-ST7798
path: /tmp/pio-build/.pio/build/2432s028r_dualusb/firmware.bin