From 10eea69c8773cdb15f05d6c6f2720c4c16d11cb6 Mon Sep 17 00:00:00 2001 From: bradh352 Date: Mon, 20 Dec 2021 21:10:46 -0500 Subject: [PATCH] no analyze capability on ios --- .cirrus.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 98991865..93174e3c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -15,6 +15,7 @@ task: BUILD_LSAN: "yes" BUILD_VALGRIND: "yes" BUILD_COVERAGE: "yes" + BUILD_ANALYZE: "yes" container: image: debian:latest - name: "Debian arm64" @@ -26,6 +27,7 @@ task: BUILD_ASAN: "yes" BUILD_UBSAN: "yes" BUILD_LSAN: "yes" + BUILD_ANALYZE: "yes" arm_container: image: debian:latest - name: "FreeBSD amd64" @@ -33,6 +35,7 @@ task: DIST: "FREEBSD" SCAN_BUILD: "scan-build" MAKE: "gmake" + BUILD_ANALYZE: "yes" freebsd_instance: image_family: freebsd-13-0 - name: "MacOS" @@ -41,6 +44,7 @@ task: SCAN_BUILD: "/usr/local/opt/llvm/bin/scan-build" MAKE: "make" BUILD_ASAN: "yes" + BUILD_ANALYZE: "yes" macos_instance: image: big-sur-xcode - name: "iOS" @@ -48,7 +52,6 @@ task: DIST: "iOS" MAKE: "make" CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=DEBUG -DCARES_STATIC=ON -DCARES_STATIC_PIC=ON -DCARES_BUILD_TESTS=OFF -DCMAKE_OSX_DEPLOYMENT_TARGET=10.0 -DCMAKE_OSX_ARCHITECTURES=armv7;armv7s;arm64" - SCAN_BUILD: "/usr/local/opt/llvm/bin/scan-build" CFLAGS: "-arch armv7 -arch armv7s -arch arm64 -miphoneos-version-min=10.0" CONFIG_OPTS: "--host=arm-apple-darwin10 --disable-tests" macos_instance: @@ -91,6 +94,7 @@ task: CXXFLAGS: "-fsanitize=leak" LDFLAGS: "-fsanitize=leak -lpthread" - name: "ANALYZE" + only_if: $BUILD_ANALYZE == 'yes' env: BUILD_TYPE: "analyze" CC: "clang"