diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d0a26cf6ab..99d5dc4a82 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -127,13 +127,11 @@ message("CLOUD_PROVIDER is set to " $ENV{CLOUD_PROVIDER}) if (APPLE OR WIN32 OR CLIENT_CODE_COVERAGE) set(TESTS_C ${TESTS_C}) set(TESTS_CXX ${TESTS_CXX} ${TESTS_PUTGET}) -endif () -if (LINUX AND $ENV{GITHUB_ACTIONS} AND $ENV{BUILD_TYPE} STREQUAL "Debug") +elseif($ENV{GITHUB_ACTIONS} AND $ENV{BUILD_TYPE} STREQUAL "Debug") message("Skip CXX test on github Linux Debug for disk space issue") set (TESTS_CXX "") endif () - if (UNIX) find_library(CMOCKA_LIB libcmocka.a PATHS ../deps-build/${PLATFORM}/cmocka/lib/ REQUIRED NO_DEFAULT_PATH) find_library(AZURE_STORAGE_LITE_LIB libazure-storage-lite.a PATHS ../deps-build/${PLATFORM}/azure/lib/ REQUIRED NO_DEFAULT_PATH)