From: Michael Wallner Date: Mon, 2 Nov 2020 16:47:50 +0000 (+0100) Subject: cirrus [travis skip] X-Git-Tag: 1.1.0-beta1~132 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1aa606efa8b7625ad1ee859234390fda2c47dd13;p=m6w6%2Flibmemcached cirrus [travis skip] --- diff --git a/.cirrus.yml b/.cirrus.yml index 8f1aae37..ff55519c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -14,6 +14,8 @@ task: ports: RELEASE_12_1_0 freebsd_instance: image_family: freebsd-12-1 + cpu: 8 + memory: 8G discover_script: | sudo -u nobody ulimit -a cat /etc/hosts diff --git a/CMakeConfig.txt b/CMakeConfig.txt index 1f23c2a9..8f764d3c 100644 --- a/CMakeConfig.txt +++ b/CMakeConfig.txt @@ -53,7 +53,10 @@ if(BUILD_TESTING) set(CMAKE_CTEST_ARGUMENTS "--output-on-failure") if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.17) # available since CMake 3.17 - list(APPEND CMAKE_CTEST_ARGUMENTS -j2 --repeat until-pass:2) + list(APPEND CMAKE_CTEST_ARGUMENTS --repeat until-pass:2) + if(NOT "$ENV{CIRRUS_CI}") + list(APPEND CMAKE_CTEST_ARGUMENTS -j2) + endif() endif() endif()