File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4242 run : |
4343 mkdir build
4444 cd build
45- cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF
45+ cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF -DCMAKE_BUILD_TYPE=Release
4646 cmake --build . --config Release --verbose
4747 ctest -V -C Release
4848 cmake --install . --config Release --prefix ${{ github.workspace }}/artifact/
5252 mkdir build
5353 cd build
5454 if [[ "${{ matrix.platform }}" = darwin-arm64 ]]; then
55- cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF
55+ cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF -DCMAKE_BUILD_TYPE=Release
5656 else
57- cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF
57+ cmake .. -DBUILD_GMOCK=OFF -DINSTALL_GTEST=OFF -DCMAKE_BUILD_TYPE=Release
5858 fi
5959 cmake --build . --config Release --verbose
6060 ctest -V -C Release
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ if(APPLE)
1919 set (CMAKE_REQUIRED_LINK_OPTIONS "-arch;arm64" )
2020 check_c_compiler_flag("-arch arm64" arm64Supported)
2121 message ("arm64Supported=${arm64Supported} " )
22- elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
23- set (CMAKE_CXX_FLAGS_RELEASE "-O3" )
2422endif ()
2523
2624add_subdirectory (LuaParser)
You can’t perform that action at this time.
0 commit comments