ci: use github workflow instead of travis and appveyor

This commit is contained in:
Petra Baranski
2023-07-23 06:18:49 +02:00
parent 87ec259c28
commit 823645995e
6 changed files with 69 additions and 58 deletions

View File

@@ -18,9 +18,9 @@ set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
# ------------------------------------------------------------------------------
option(MADDY_ENABLED_TESTS "enable building tests" OFF)
option(MADDY_BUILD_WITH_TESTS "enable building tests" OFF)
if(${MADDY_ENABLED_TESTS})
if(${MADDY_BUILD_WITH_TESTS})
enable_testing()
endif()
@@ -35,11 +35,6 @@ if (UNIX)
CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -g -std=c++${MADDY_CPP_VERSION} -Wall -Wpedantic -Wextra -Wno-ignored-qualifiers -fno-rtti -fno-exceptions -fsanitize=address -fno-omit-frame-pointer"
)
else()
set(
CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -std=c++${MADDY_CPP_VERSION}"
)
endif()
# ------------------------------------------------------------------------------
@@ -66,6 +61,6 @@ target_include_directories(maddy INTERFACE
# ------------------------------------------------------------------------------
if(${MADDY_ENABLED_TESTS})
if(${MADDY_BUILD_WITH_TESTS})
add_subdirectory(tests)
endif()