10
10
strategy :
11
11
fail-fast : false
12
12
matrix :
13
- runs-on : [ubuntu-20 .04, ubuntu-latest, macos-13, macos-14]
13
+ runs-on : [ubuntu-22 .04, ubuntu-latest, macos-13, macos-14]
14
14
build-type : [Release]
15
15
runs-on : ${{matrix.runs-on}}
16
16
steps :
67
67
cmake --build build --config ${{matrix.build-type}} --target install
68
68
cmake -E copy build/include/llvm/Config/config.h llvm/include/llvm/Config
69
69
- name : Upload LLVM
70
- uses : actions/upload-artifact@v3
70
+ uses : actions/upload-artifact@v4
71
71
with :
72
72
name : LLVM${{matrix.runs-on}}${{matrix.build-type}}
73
73
path : llvm
77
77
- name : Strip ez80-link
78
78
run : strip ez80-link${{env.EXE}}
79
79
- name : Upload ez80-link
80
- uses : actions/upload-artifact@v3
80
+ uses : actions/upload-artifact@v4
81
81
with :
82
82
name : ez80-link${{env.EXE}}-${{matrix.runs-on}}${{matrix.build-type}}
83
83
path : ez80-link${{env.EXE}}
87
87
- name : Strip ez80-lto
88
88
run : strip ez80-lto${{env.EXE}}
89
89
- name : Upload ez80-lto
90
- uses : actions/upload-artifact@v3
90
+ uses : actions/upload-artifact@v4
91
91
with :
92
92
name : ez80-lto${{env.EXE}}-${{matrix.runs-on}}${{matrix.build-type}}
93
93
path : ez80-lto${{env.EXE}}
97
97
- name : Strip ez80-lto2
98
98
run : strip ez80-lto2${{env.EXE}}
99
99
- name : Upload ez80-lto2
100
- uses : actions/upload-artifact@v3
100
+ uses : actions/upload-artifact@v4
101
101
with :
102
102
name : ez80-lto2${{env.EXE}}-${{matrix.runs-on}}${{matrix.build-type}}
103
103
path : ez80-lto2${{env.EXE}}
@@ -117,7 +117,7 @@ jobs:
117
117
cmake -E copy build/tools/clang/test/Unit/lit.site.cfg.py test/tools/clang/test/Unit
118
118
cmake -E copy build/unittests/Target/Z80/Z80Tests${{env.EXE}} test/unittests/Target/Z80
119
119
- name : Upload Test
120
- uses : actions/upload-artifact@v3
120
+ uses : actions/upload-artifact@v4
121
121
with :
122
122
name : Test${{matrix.runs-on}}${{matrix.build-type}}
123
123
path : test
@@ -130,7 +130,7 @@ jobs:
130
130
strategy :
131
131
fail-fast : false
132
132
matrix :
133
- runs-on : [ubuntu-20 .04, ubuntu-latest, macos-13, macos-14]
133
+ runs-on : [ubuntu-22 .04, ubuntu-latest, macos-13, macos-14]
134
134
build-type : [Release]
135
135
runs-on : ${{matrix.runs-on}}
136
136
steps :
@@ -178,7 +178,7 @@ jobs:
178
178
git sparse-checkout set cmake third-party clang
179
179
180
180
- name : Download LLVM
181
- uses : actions/download-artifact@v3
181
+ uses : actions/download-artifact@v4
182
182
with :
183
183
name : LLVM${{matrix.runs-on}}${{matrix.build-type}}
184
184
path : llvm
@@ -194,7 +194,7 @@ jobs:
194
194
- name : Install Clang
195
195
run : cmake --build build --config ${{matrix.build-type}} --target install
196
196
- name : Upload Clang
197
- uses : actions/upload-artifact@v3
197
+ uses : actions/upload-artifact@v4
198
198
with :
199
199
name : Clang${{matrix.runs-on}}${{matrix.build-type}}
200
200
path : clang
@@ -206,23 +206,24 @@ jobs:
206
206
- name : Test ez80-clang
207
207
run : cmake -E echo "void test(void){}" | ./ez80-clang${{env.EXE}} -S -xc - -o -
208
208
- name : Upload ez80-clang
209
- uses : actions/upload-artifact@v3
209
+ uses : actions/upload-artifact@v4
210
210
with :
211
211
name : ez80-clang${{env.EXE}}-${{matrix.runs-on}}${{matrix.build-type}}
212
212
path : ez80-clang${{env.EXE}}
213
213
214
214
- name : Download Test
215
- uses : actions/download-artifact@v3
215
+ uses : actions/download-artifact@v4
216
216
with :
217
217
name : Test${{matrix.runs-on}}${{matrix.build-type}}
218
218
path : test
219
219
- name : Install Test
220
220
run : cmake -E copy build/bin/arcmt-test${{env.EXE}} build/bin/c-arcmt-test${{env.EXE}} build/bin/clang-diff${{env.EXE}} build/bin/clang-tblgen${{env.EXE}} test/bin
221
221
- name : Upload Test
222
- uses : actions/upload-artifact@v3
222
+ uses : actions/upload-artifact@v4
223
223
with :
224
224
name : Test${{matrix.runs-on}}${{matrix.build-type}}
225
225
path : test
226
+ overwrite : true
226
227
227
228
- name : Disk Usage
228
229
run : df -h
@@ -232,7 +233,7 @@ jobs:
232
233
strategy :
233
234
fail-fast : false
234
235
matrix :
235
- runs-on : [ubuntu-20 .04, ubuntu-latest, macos-13, macos-14]
236
+ runs-on : [ubuntu-22 .04, ubuntu-latest, macos-13, macos-14]
236
237
build-type : [Release]
237
238
runs-on : ${{matrix.runs-on}}
238
239
steps :
@@ -252,12 +253,12 @@ jobs:
252
253
git sparse-checkout set cmake llvm/test llvm/utils/lit/lit llvm/unittest third-party
253
254
254
255
- name : Download Test
255
- uses : actions/download-artifact@v3
256
+ uses : actions/download-artifact@v4
256
257
with :
257
258
name : Test${{matrix.runs-on}}${{matrix.build-type}}
258
259
path : build
259
260
- name : Download LLVM
260
- uses : actions/download-artifact@v3
261
+ uses : actions/download-artifact@v4
261
262
with :
262
263
name : LLVM${{matrix.runs-on}}${{matrix.build-type}}
263
264
path : build
@@ -274,7 +275,7 @@ jobs:
274
275
strategy :
275
276
fail-fast : false
276
277
matrix :
277
- runs-on : [ubuntu-20 .04, ubuntu-latest, macos-13, macos-14]
278
+ runs-on : [ubuntu-22 .04, ubuntu-latest, macos-13, macos-14]
278
279
build-type : [Debug]
279
280
continue-on-error : true
280
281
if : false
@@ -296,12 +297,12 @@ jobs:
296
297
git sparse-checkout set cmake third-party llvm/test llvm/utils/lit/lit
297
298
298
299
- name : Download Test
299
- uses : actions/download-artifact@v3
300
+ uses : actions/download-artifact@v4
300
301
with :
301
302
name : Test${{matrix.runs-on}}${{matrix.build-type}}
302
303
path : build
303
304
- name : Download LLVM
304
- uses : actions/download-artifact@v3
305
+ uses : actions/download-artifact@v4
305
306
with :
306
307
name : LLVM${{matrix.runs-on}}${{matrix.build-type}}
307
308
path : build
@@ -316,7 +317,7 @@ jobs:
316
317
strategy :
317
318
fail-fast : false
318
319
matrix :
319
- runs-on : [ubuntu-20 .04, ubuntu-latest, macos-13, macos-14]
320
+ runs-on : [ubuntu-22 .04, ubuntu-latest, macos-13, macos-14]
320
321
build-type : [Debug]
321
322
continue-on-error : true
322
323
if : false
@@ -338,17 +339,17 @@ jobs:
338
339
git sparse-checkout set cmake third-party clang/test llvm/utils/lit/lit
339
340
340
341
- name : Download Test
341
- uses : actions/download-artifact@v3
342
+ uses : actions/download-artifact@v4
342
343
with :
343
344
name : Test${{matrix.runs-on}}${{matrix.build-type}}
344
345
path : build
345
346
- name : Download LLVM
346
- uses : actions/download-artifact@v3
347
+ uses : actions/download-artifact@v4
347
348
with :
348
349
name : LLVM${{matrix.runs-on}}${{matrix.build-type}}
349
350
path : build
350
351
- name : Download Clang
351
- uses : actions/download-artifact@v3
352
+ uses : actions/download-artifact@v4
352
353
with :
353
354
name : Clang${{matrix.runs-on}}${{matrix.build-type}}
354
355
path : build
@@ -364,28 +365,28 @@ jobs:
364
365
if : github.ref == 'refs/heads/z80'
365
366
366
367
steps :
367
- - name : Download Ubuntu 20 .04 ez80-clang
368
- uses : actions/download-artifact@v3
368
+ - name : Download Ubuntu 22 .04 ez80-clang
369
+ uses : actions/download-artifact@v4
369
370
with :
370
- name : ez80-clang-ubuntu-20 .04Release
371
+ name : ez80-clang-ubuntu-22 .04Release
371
372
path : ${{github.workspace}}
372
- - name : Download Ubuntu 20 .04 ez80-link
373
- uses : actions/download-artifact@v3
373
+ - name : Download Ubuntu 22 .04 ez80-link
374
+ uses : actions/download-artifact@v4
374
375
with :
375
- name : ez80-link-ubuntu-20 .04Release
376
+ name : ez80-link-ubuntu-22 .04Release
376
377
path : ${{github.workspace}}
377
378
- name : chmod and zip Ubuntu Artifacts
378
379
run : |
379
380
chmod +x ez80-clang ez80-link
380
381
zip ez80-clang-link_ubuntu_nightly.zip ez80-clang ez80-link
381
382
rm ez80-clang ez80-link
382
383
- name : Download macOS 13 ez80-clang
383
- uses : actions/download-artifact@v3
384
+ uses : actions/download-artifact@v4
384
385
with :
385
386
name : ez80-clang-macos-13Release
386
387
path : ${{github.workspace}}
387
388
- name : Download macOS 13 ez80-link
388
- uses : actions/download-artifact@v3
389
+ uses : actions/download-artifact@v4
389
390
with :
390
391
name : ez80-link-macos-13Release
391
392
path : ${{github.workspace}}
@@ -395,12 +396,12 @@ jobs:
395
396
zip ez80-clang-link_macOS_intel_nightly.zip ez80-clang ez80-link
396
397
rm ez80-clang ez80-link
397
398
- name : Download macOS 14 ez80-clang
398
- uses : actions/download-artifact@v3
399
+ uses : actions/download-artifact@v4
399
400
with :
400
401
name : ez80-clang-macos-14Release
401
402
path : ${{github.workspace}}
402
403
- name : Download macOS 14 ez80-link
403
- uses : actions/download-artifact@v3
404
+ uses : actions/download-artifact@v4
404
405
with :
405
406
name : ez80-link-macos-14Release
406
407
path : ${{github.workspace}}
0 commit comments