cirrus [travis skip]
authorMichael Wallner <mike@php.net>
Mon, 2 Nov 2020 16:47:50 +0000 (17:47 +0100)
committerMichael Wallner <mike@php.net>
Mon, 2 Nov 2020 16:47:50 +0000 (17:47 +0100)
.cirrus.yml
CMakeConfig.txt

index 8f1aae37fc1618723de388e8c8038de9cd6e1ff9..ff55519c9c288146c0f876d7a5d170dc1d03d9a5 100644 (file)
@@ -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
index 1f23c2a97dc0404468c536ad94c843cf8502e700..8f764d3c8e4a1ac9273a2e73fefdc8278ec6344a 100644 (file)
@@ -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()