43
43
with :
44
44
fetch-depth : 0
45
45
46
+ - name : ccache
47
+ uses : hendrikmuhs/ccache-action@v1.2.16
48
+ with :
49
+ key : macOS-latest-cmake-arm64
50
+ evict-old-files : 1d
51
+
46
52
- name : Dependencies
47
53
id : depends
48
54
continue-on-error : true
@@ -108,6 +114,12 @@ jobs:
108
114
with :
109
115
fetch-depth : 0
110
116
117
+ - name : ccache
118
+ uses : hendrikmuhs/ccache-action@v1.2.16
119
+ with :
120
+ key : macOS-latest-cmake-x64
121
+ evict-old-files : 1d
122
+
111
123
- name : Dependencies
112
124
id : depends
113
125
continue-on-error : true
@@ -172,6 +184,12 @@ jobs:
172
184
with :
173
185
fetch-depth : 0
174
186
187
+ - name : ccache
188
+ uses : hendrikmuhs/ccache-action@v1.2.16
189
+ with :
190
+ key : ubuntu-cpu-cmake
191
+ evict-old-files : 1d
192
+
175
193
- name : Dependencies
176
194
id : depends
177
195
run : |
@@ -249,6 +267,12 @@ jobs:
249
267
id : checkout
250
268
uses : actions/checkout@v4
251
269
270
+ - name : ccache
271
+ uses : hendrikmuhs/ccache-action@v1.2.16
272
+ with :
273
+ key : ubuntu-latest-cmake-sanitizer-${{ matrix.sanitizer }}
274
+ evict-old-files : 1d
275
+
252
276
- name : Dependencies
253
277
id : depends
254
278
run : |
@@ -296,6 +320,12 @@ jobs:
296
320
id : checkout
297
321
uses : actions/checkout@v4
298
322
323
+ - name : ccache
324
+ uses : hendrikmuhs/ccache-action@v1.2.16
325
+ with :
326
+ key : ubuntu-latest-cmake-rpc
327
+ evict-old-files : 1d
328
+
299
329
- name : Dependencies
300
330
id : depends
301
331
run : |
@@ -325,6 +355,12 @@ jobs:
325
355
id : checkout
326
356
uses : actions/checkout@v4
327
357
358
+ - name : ccache
359
+ uses : hendrikmuhs/ccache-action@v1.2.16
360
+ with :
361
+ key : ubuntu-22-cmake-vulkan
362
+ evict-old-files : 1d
363
+
328
364
- name : Dependencies
329
365
id : depends
330
366
run : |
@@ -364,6 +400,12 @@ jobs:
364
400
sudo apt-get update
365
401
sudo apt-get install -y build-essential git cmake rocblas-dev hipblas-dev
366
402
403
+ - name : ccache
404
+ uses : hendrikmuhs/ccache-action@v1.2.16
405
+ with :
406
+ key : ubuntu-22-cmake-hip
407
+ evict-old-files : 1d
408
+
367
409
- name : Build with native CMake HIP support
368
410
id : cmake_build
369
411
run : |
@@ -396,6 +438,12 @@ jobs:
396
438
apt-get update
397
439
apt-get install -y build-essential git cmake libcurl4-openssl-dev
398
440
441
+ - name : ccache
442
+ uses : hendrikmuhs/ccache-action@v1.2.16
443
+ with :
444
+ key : ubuntu-22-cmake-musa
445
+ evict-old-files : 1d
446
+
399
447
- name : Build with native CMake MUSA support
400
448
id : cmake_build
401
449
run : |
@@ -435,6 +483,12 @@ jobs:
435
483
id : checkout
436
484
uses : actions/checkout@v4
437
485
486
+ - name : ccache
487
+ uses : hendrikmuhs/ccache-action@v1.2.16
488
+ with :
489
+ key : ubuntu-22-cmake-sycl
490
+ evict-old-files : 1d
491
+
438
492
- name : Build
439
493
id : cmake_build
440
494
run : |
@@ -479,6 +533,12 @@ jobs:
479
533
id : checkout
480
534
uses : actions/checkout@v4
481
535
536
+ - name : ccache
537
+ uses : hendrikmuhs/ccache-action@v1.2.16
538
+ with :
539
+ key : ubuntu-22-cmake-sycl-fp16
540
+ evict-old-files : 1d
541
+
482
542
- name : Build
483
543
id : cmake_build
484
544
run : |
@@ -500,6 +560,12 @@ jobs:
500
560
id : checkout
501
561
uses : actions/checkout@v4
502
562
563
+ - name : ccache
564
+ uses : hendrikmuhs/ccache-action@v1.2.16
565
+ with :
566
+ key : macOS-latest-cmake-ios
567
+ evict-old-files : 1d
568
+
503
569
- name : Dependencies
504
570
id : depends
505
571
continue-on-error : true
@@ -531,6 +597,12 @@ jobs:
531
597
id : checkout
532
598
uses : actions/checkout@v4
533
599
600
+ - name : ccache
601
+ uses : hendrikmuhs/ccache-action@v1.2.16
602
+ with :
603
+ key : macOS-latest-cmake-tvos
604
+ evict-old-files : 1d
605
+
534
606
- name : Dependencies
535
607
id : depends
536
608
continue-on-error : true
@@ -566,6 +638,12 @@ jobs:
566
638
id : checkout
567
639
uses : actions/checkout@v4
568
640
641
+ - name : ccache
642
+ uses : hendrikmuhs/ccache-action@v1.2.16
643
+ with :
644
+ key : macOS-latest-swift
645
+ evict-old-files : 1d
646
+
569
647
- name : Dependencies
570
648
id : depends
571
649
continue-on-error : true
@@ -607,6 +685,12 @@ jobs:
607
685
- name : Clone
608
686
uses : actions/checkout@v4
609
687
688
+ - name : ccache
689
+ uses : hendrikmuhs/ccache-action@v1.2.16
690
+ with :
691
+ key : windows-msys2
692
+ evict-old-files : 1d
693
+
610
694
- name : Setup ${{ matrix.sys }}
611
695
uses : msys2/setup-msys2@v2
612
696
with :
@@ -675,6 +759,12 @@ jobs:
675
759
with :
676
760
fetch-depth : 0
677
761
762
+ - name : ccache
763
+ uses : hendrikmuhs/ccache-action@v1.2.16
764
+ with :
765
+ key : windows-latest-cmake-${{ matrix.build }}
766
+ evict-old-files : 1d
767
+
678
768
- name : Clone Kompute submodule
679
769
id : clone_kompute
680
770
if : ${{ matrix.build == 'kompute-x64' }}
@@ -813,6 +903,8 @@ jobs:
813
903
- name : Clone
814
904
id : checkout
815
905
uses : actions/checkout@v4
906
+ with :
907
+ fetch-depth : 0
816
908
817
909
- name : Install dependencies
818
910
env :
@@ -821,6 +913,12 @@ jobs:
821
913
apt update
822
914
apt install -y cmake build-essential ninja-build libgomp1 git
823
915
916
+ - name : ccache
917
+ uses : hendrikmuhs/ccache-action@v1.2.16
918
+ with :
919
+ key : ubuntu-latest-cmake-cuda
920
+ evict-old-files : 1d
921
+
824
922
- name : Build with CMake
825
923
run : |
826
924
cmake -S . -B build -G Ninja \
@@ -847,6 +945,12 @@ jobs:
847
945
with :
848
946
fetch-depth : 0
849
947
948
+ - name : Install ccache
949
+ uses : hendrikmuhs/ccache-action@v1.2.16
950
+ with :
951
+ key : ${{ github.job }}-${{ matrix.cuda }}-${{ matrix.build }}
952
+ evict-old-files : 1d
953
+
850
954
- name : Install Cuda Toolkit 11.7
851
955
if : ${{ matrix.cuda == '11.7' }}
852
956
run : |
@@ -903,11 +1007,6 @@ jobs:
903
1007
echo "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
904
1008
echo "CUDA_PATH_V12_4=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
905
1009
906
- - name : Install ccache
907
- uses : hendrikmuhs/ccache-action@v1.2
908
- with :
909
- key : ${{ github.job }}-${{ matrix.cuda }}-${{ matrix.build }}
910
-
911
1010
- name : Install Ninja
912
1011
id : install_ninja
913
1012
run : |
@@ -987,6 +1086,12 @@ jobs:
987
1086
with :
988
1087
fetch-depth : 0
989
1088
1089
+ - name : ccache
1090
+ uses : hendrikmuhs/ccache-action@v1.2.16
1091
+ with :
1092
+ key : windows-latest-cmake-sycl
1093
+ evict-old-files : 1d
1094
+
990
1095
- name : Install
991
1096
run : |
992
1097
scripts/install-oneapi.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_MKL
@@ -1066,9 +1171,10 @@ jobs:
1066
1171
& 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' --version
1067
1172
1068
1173
- name : Install ccache
1069
- uses : hendrikmuhs/ccache-action@v1.2
1174
+ uses : hendrikmuhs/ccache-action@v1.2.16
1070
1175
with :
1071
1176
key : ${{ github.job }}
1177
+ evict-old-files : 1d
1072
1178
1073
1179
- name : Build
1074
1180
id : cmake_build
@@ -1098,6 +1204,12 @@ jobs:
1098
1204
with :
1099
1205
fetch-depth : 0
1100
1206
1207
+ - name : ccache
1208
+ uses : hendrikmuhs/ccache-action@v1.2.16
1209
+ with :
1210
+ key : windows-latest-cmake-hip-release
1211
+ evict-old-files : 1d
1212
+
1101
1213
- name : Install
1102
1214
id : depends
1103
1215
run : |
@@ -1195,6 +1307,12 @@ jobs:
1195
1307
- name : Clone
1196
1308
uses : actions/checkout@v4
1197
1309
1310
+ - name : ccache
1311
+ uses : hendrikmuhs/ccache-action@v1.2.16
1312
+ with :
1313
+ key : android-build
1314
+ evict-old-files : 1d
1315
+
1198
1316
- name : Set up JDK
1199
1317
uses : actions/setup-java@v3
1200
1318
with :
@@ -1232,6 +1350,12 @@ jobs:
1232
1350
with :
1233
1351
fetch-depth : 0
1234
1352
1353
+ - name : ccache
1354
+ uses : hendrikmuhs/ccache-action@v1.2.16
1355
+ with :
1356
+ key : release
1357
+ evict-old-files : 1d
1358
+
1235
1359
- name : Determine tag name
1236
1360
id : tag
1237
1361
shell : bash
0 commit comments