File tree Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 42
42
if : matrix.language == 'cpp'
43
43
run : >
44
44
cmake -S . -B build -G Ninja
45
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
46
45
-D CMAKE_BUILD_TYPE=RELEASE
47
46
env :
48
47
CC : gcc-14
54
53
env :
55
54
CC : gcc-14
56
55
CXX : g++-14
56
+ - name : Show ccache stats
57
+ if : matrix.language == 'cpp'
58
+ run : ccache --show-stats
57
59
- name : Perform CodeQL Analysis
58
60
uses : github/codeql-action/analyze@v3
Original file line number Diff line number Diff line change 29
29
- name : CMake configure
30
30
run : >
31
31
cmake -S . -B build -G Ninja
32
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
33
32
-DCMAKE_C_FLAGS="-I$(brew --prefix)/opt/libomp/include"
34
33
-DCMAKE_CXX_FLAGS="-I$(brew --prefix)/opt/libomp/include"
35
34
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=install
Original file line number Diff line number Diff line change 43
43
- name : CMake configure
44
44
run : >
45
45
cmake -S . -B build -G Ninja
46
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
47
46
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
48
47
env :
49
48
CC : clang-21
56
55
CC : clang-21
57
56
CXX : clang++-21
58
57
58
+ - name : Show ccache stats
59
+ run : ccache --show-stats
59
60
- name : Run clang-tidy
60
61
uses : ./.github/actions/clang-tidy-native
61
62
id : review
91
92
- name : CMake configure
92
93
run : >
93
94
cmake -S . -B build -G Ninja
94
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
95
95
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
96
96
env :
97
97
CC : gcc-14
@@ -104,6 +104,8 @@ jobs:
104
104
CC : gcc-14
105
105
CXX : g++-14
106
106
107
+ - name : Show ccache stats
108
+ run : ccache --show-stats
107
109
- name : Run clang-tidy
108
110
uses : ./.github/actions/clang-tidy-native
109
111
id : review
Original file line number Diff line number Diff line change 26
26
- name : CMake configure
27
27
run : >
28
28
cmake -S . -B build -G Ninja
29
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
30
29
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=install
31
30
env :
32
31
CC : gcc-14
@@ -136,7 +135,6 @@ jobs:
136
135
- name : CMake configure
137
136
run : >
138
137
cmake -S . -B build -G Ninja
139
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
140
138
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install
141
139
env :
142
140
CC : clang-21
@@ -240,7 +238,6 @@ jobs:
240
238
- name : CMake configure
241
239
run : >
242
240
cmake -S . -B build -G Ninja
243
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
244
241
-D CMAKE_BUILD_TYPE=RelWithDebInfo
245
242
-D ENABLE_ADDRESS_SANITIZER=ON -D ENABLE_UB_SANITIZER=ON -D ENABLE_LEAK_SANITIZER=ON
246
243
-D CMAKE_INSTALL_PREFIX=install
@@ -351,7 +348,6 @@ jobs:
351
348
- name : CMake configure
352
349
run : >
353
350
cmake -S . -B build -G Ninja
354
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
355
351
-D CMAKE_BUILD_TYPE=RELEASE
356
352
-D CMAKE_VERBOSE_MAKEFILE=ON -D USE_COVERAGE=ON
357
353
- name : Build project
Original file line number Diff line number Diff line change @@ -15,11 +15,16 @@ jobs:
15
15
with :
16
16
submodules : recursive
17
17
- uses : ./.github/actions/setup-windows-toolchain
18
+ - name : ccache
19
+ uses :
hendrikmuhs/[email protected]
20
+ with :
21
+ key : ${{ runner.os }}-msvc
22
+ create-symlink : true
23
+ max-size : 1G
18
24
- name : CMake configure
19
25
shell : bash
20
26
run : >
21
27
cmake -S . -B build -G Ninja -D CMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl
22
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
23
28
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=install
24
29
- name : Build project
25
30
shell : bash
92
97
with :
93
98
submodules : recursive
94
99
- uses : ./.github/actions/setup-windows-toolchain
100
+ - name : ccache
101
+ uses :
hendrikmuhs/[email protected]
102
+ with :
103
+ key : ${{ runner.os }}-clang
104
+ create-symlink : true
105
+ max-size : 1G
95
106
- name : Setup LLVM
96
107
uses : KyleMayes/install-llvm-action@v2
97
108
with :
@@ -100,7 +111,6 @@ jobs:
100
111
run : >
101
112
cmake -S . -B build -G Ninja
102
113
-D CMAKE_C_COMPILER=clang-cl -D CMAKE_CXX_COMPILER=clang-cl
103
- -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
104
114
-D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=install
105
115
-D CMAKE_PREFIX_PATH="C:/Program Files/LLVM"
106
116
env :
You can’t perform that action at this time.
0 commit comments