Use Github Actions instead of Travis

Moved MSVC to Github Actions as well.
This commit is contained in:
Pengfei
2021-06-26 19:30:34 +08:00
parent 3d3b51bb98
commit 412aeaa0d4
27 changed files with 453 additions and 146 deletions
+1
View File
@@ -79,6 +79,7 @@ message(STATUS "Target architecture: ${ARCHITECTURE}")
# ===========================
if (MSVC)
add_compile_options(/std:c++latest)
add_definitions(-D_HAS_DEPRECATED_RESULT_OF)
else()
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)