Skip to content

Commit 2c20c98

Browse files
committed
ci/github-actions: add cache
Signed-off-by: lbuque <[email protected]>
1 parent 31d69b6 commit 2c20c98

File tree

12 files changed

+126
-0
lines changed

12 files changed

+126
-0
lines changed

.github/workflows/nightly-build.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
steps:
1515
- uses: actions/checkout@v3
16+
- name: Cache dl
17+
id: cache-dl
18+
uses: actions/cache@v3
19+
with:
20+
path: dl/
21+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
1622
- name: Install packages
1723
run: sudo apt-get install git make python3 python3-pip cmake quilt
1824
- name: Build T-Call
@@ -29,6 +35,12 @@ jobs:
2935
runs-on: ubuntu-20.04
3036
steps:
3137
- uses: actions/checkout@v3
38+
- name: Cache dl
39+
id: cache-dl
40+
uses: actions/cache@v3
41+
with:
42+
path: dl/
43+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
3244
- name: Install packages
3345
run: sudo apt-get install git make python3 python3-pip cmake quilt
3446
- name: Build T-PicoC3
@@ -46,6 +58,12 @@ jobs:
4658
runs-on: ubuntu-20.04
4759
steps:
4860
- uses: actions/checkout@v3
61+
- name: Cache dl
62+
id: cache-dl
63+
uses: actions/cache@v3
64+
with:
65+
path: dl/
66+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
4967
- name: Install packages
5068
run: sudo apt-get install git make python3 python3-pip cmake quilt
5169
- name: Build T-SIM7000G
@@ -62,6 +80,12 @@ jobs:
6280
runs-on: ubuntu-20.04
6381
steps:
6482
- uses: actions/checkout@v3
83+
- name: Cache dl
84+
id: cache-dl
85+
uses: actions/cache@v3
86+
with:
87+
path: dl/
88+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
6589
- name: Install packages
6690
run: sudo apt-get install git make python3 python3-pip cmake quilt
6791
- name: Build T5-4.7
@@ -78,6 +102,12 @@ jobs:
78102
runs-on: ubuntu-20.04
79103
steps:
80104
- uses: actions/checkout@v3
105+
- name: Cache dl
106+
id: cache-dl
107+
uses: actions/cache@v3
108+
with:
109+
path: dl/
110+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
81111
- name: Install packages
82112
run: sudo apt-get install git make python3 python3-pip cmake quilt
83113
- name: Build T5-4.7 Plus
@@ -94,6 +124,12 @@ jobs:
94124
runs-on: ubuntu-20.04
95125
steps:
96126
- uses: actions/checkout@v3
127+
- name: Cache dl
128+
id: cache-dl
129+
uses: actions/cache@v3
130+
with:
131+
path: dl/
132+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
97133
- name: Install packages
98134
run: sudo apt-get install git make python3 python3-pip cmake quilt
99135
- name: Build T-Display
@@ -110,6 +146,12 @@ jobs:
110146
runs-on: ubuntu-20.04
111147
steps:
112148
- uses: actions/checkout@v3
149+
- name: Cache dl
150+
id: cache-dl
151+
uses: actions/cache@v3
152+
with:
153+
path: dl/
154+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
113155
- name: Install packages
114156
run: sudo apt-get install git make python3 python3-pip cmake quilt
115157
- name: Build T-DisplayS3
@@ -126,6 +168,12 @@ jobs:
126168
runs-on: ubuntu-20.04
127169
steps:
128170
- uses: actions/checkout@v3
171+
- name: Cache dl
172+
id: cache-dl
173+
uses: actions/cache@v3
174+
with:
175+
path: dl/
176+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
129177
- name: Install packages
130178
run: sudo apt-get install git make python3 python3-pip cmake quilt
131179
- name: Build T-RGB
@@ -142,6 +190,12 @@ jobs:
142190
runs-on: ubuntu-20.04
143191
steps:
144192
- uses: actions/checkout@v3
193+
- name: Cache dl
194+
id: cache-dl
195+
uses: actions/cache@v3
196+
with:
197+
path: dl/
198+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
145199
- name: Install packages
146200
run: sudo apt-get install git make python3 python3-pip cmake quilt
147201
- name: Build T7-S3
@@ -158,6 +212,12 @@ jobs:
158212
runs-on: ubuntu-20.04
159213
steps:
160214
- uses: actions/checkout@v3
215+
- name: Cache dl
216+
id: cache-dl
217+
uses: actions/cache@v3
218+
with:
219+
path: dl/
220+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
161221
- name: Install packages
162222
run: sudo apt-get install git make python3 python3-pip cmake quilt
163223
- name: Build T-DisplayS3-AMOLED

.github/workflows/t-call.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T-Call

.github/workflows/t-display.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T-Display

.github/workflows/t-displays3-amoled.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T-DisplayS3-AMOLED

.github/workflows/t-displays3.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T-DisplayS3

.github/workflows/t-echo.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
steps:
1515
- uses: actions/checkout@v3
16+
- name: Cache dl
17+
id: cache-dl
18+
uses: actions/cache@v3
19+
with:
20+
path: dl/
21+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
1622
- name: Install packages
1723
run: sudo apt-get install git make python3 python3-pip cmake quilt
1824
- name: Build T-Echo

.github/workflows/t-picoc3.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T-PicoC3

.github/workflows/t-rgb.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T-RGB

.github/workflows/t-sim7000g.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T-SIM7000G

.github/workflows/t5-4.7-plus.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T5-4.7 Plus

.github/workflows/t5-4.7.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T5-4.7

.github/workflows/t7-s3.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- name: Cache dl
21+
id: cache-dl
22+
uses: actions/cache@v3
23+
with:
24+
path: dl/
25+
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
2026
- name: Install packages
2127
run: sudo apt-get install git make python3 python3-pip cmake quilt
2228
- name: Build T7-S3

0 commit comments

Comments
 (0)