File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 85
85
86
86
- name : Build mimalloc (Linux)
87
87
run : |
88
+ git clone --depth 1 --branch v2.1.7 https://github.com/microsoft/mimalloc.git ${{github.workspace}}/third_party/mimalloc
88
89
cd ${{github.workspace}}/third_party/mimalloc
89
90
mkdir build && cd build
90
91
cmake -G Ninja -DMI_SECURE=ON ..
93
94
94
95
- name : Build googletest (Linux)
95
96
run : |
97
+ git clone --depth 1 --branch v1.15.0 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest
96
98
cd ${{github.workspace}}/third_party/googletest
97
99
mkdir build && cd build
98
100
cmake -G Ninja -DBUILD_SHARED_LIBS=ON ..
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ if(CCACHE_FOUND)
173
173
endif (CCACHE_FOUND)
174
174
175
175
# detect compiler
176
- if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "Clang" )
176
+ if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "Clang" OR " ${CMAKE_CXX_COMPILER_ID} " STREQUAL "AppleClang" )
177
177
# using clang
178
178
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
179
179
message (FATAL_ERROR "Clang version must be at least 9.0!" )
@@ -200,7 +200,7 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
200
200
message (FATAL_ERROR "MSVC is not supported." )
201
201
else ()
202
202
# using a unknown compiler
203
- message (FATAL_ERROR "This Unknown Compiler is not supported." )
203
+ message (FATAL_ERROR "Compiler: ${CMAKE_CXX_COMPILER_ID} is not supported." )
204
204
endif ()
205
205
206
206
# Using Standard C++-17 (Consider compatibility)
You can’t perform that action at this time.
0 commit comments