forked from Xinyuan-LilyGO/lilygo-micropython
-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (34 loc) · 922 Bytes
/
Copy patht-display.yml
File metadata and controls
36 lines (34 loc) · 922 Bytes
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
name: T-Display CI
on:
push:
paths:
- 'target/esp32/boards/LILYGO_T-Display/**'
- 'target/esp32/esp32.mk'
- '.github/workflows/t-display.yml'
pull_request:
paths:
- 'target/esp32/boards/LILYGO_T-Display/**'
- 'target/esp32/esp32.mk'
- '.github/workflows/t-display.yml'
jobs:
build_t-display:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-Display
run: |
cp config_T-Display config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T-Display_firmware
path: ./bin/esp32/LILYGO_T-Display/