File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PlatformIO CI
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v4
11+ - uses : actions/cache@v4
12+ with :
13+ path : |
14+ ~/.cache/pip
15+ ~/.platformio/.cache
16+ key : ${{ runner.os }}-pio
17+ - uses : actions/setup-python@v5
18+ with :
19+ python-version : ' 3.11'
20+ - name : Install PlatformIO Core
21+ run : pip install --upgrade platformio
22+
23+ - name : Build PlatformIO Project
24+ run : pio ci -c ./examples/DBTFT/platformio.ini --build-dir /tmp/pio-build --keep-build-dir ./examples/DBTFT/src
25+
26+ - name : Upload esp8266
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : esp8266.bin
30+ path : /tmp/pio-build/.pio/build/d1_mini/firmware.bin
31+
32+ - name : Upload CYD-ILI9341
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : CYD-9341.bin
36+ path : /tmp/pio-build/.pio/build/2432s028r/firmware.bin
37+
38+ - name : Upload CYD-ST7798
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : CYD-7798.bin
42+ path : /tmp/pio-build/.pio/build/2432s028r_dualusb/firmware.bin
You can’t perform that action at this time.
0 commit comments