no analyze capability on ios

pull/459/head
bradh352 3 years ago
parent cc2ade9685
commit 10eea69c87
  1. 6
      .cirrus.yml

@ -15,6 +15,7 @@ task:
BUILD_LSAN: "yes" BUILD_LSAN: "yes"
BUILD_VALGRIND: "yes" BUILD_VALGRIND: "yes"
BUILD_COVERAGE: "yes" BUILD_COVERAGE: "yes"
BUILD_ANALYZE: "yes"
container: container:
image: debian:latest image: debian:latest
- name: "Debian arm64" - name: "Debian arm64"
@ -26,6 +27,7 @@ task:
BUILD_ASAN: "yes" BUILD_ASAN: "yes"
BUILD_UBSAN: "yes" BUILD_UBSAN: "yes"
BUILD_LSAN: "yes" BUILD_LSAN: "yes"
BUILD_ANALYZE: "yes"
arm_container: arm_container:
image: debian:latest image: debian:latest
- name: "FreeBSD amd64" - name: "FreeBSD amd64"
@ -33,6 +35,7 @@ task:
DIST: "FREEBSD" DIST: "FREEBSD"
SCAN_BUILD: "scan-build" SCAN_BUILD: "scan-build"
MAKE: "gmake" MAKE: "gmake"
BUILD_ANALYZE: "yes"
freebsd_instance: freebsd_instance:
image_family: freebsd-13-0 image_family: freebsd-13-0
- name: "MacOS" - name: "MacOS"
@ -41,6 +44,7 @@ task:
SCAN_BUILD: "/usr/local/opt/llvm/bin/scan-build" SCAN_BUILD: "/usr/local/opt/llvm/bin/scan-build"
MAKE: "make" MAKE: "make"
BUILD_ASAN: "yes" BUILD_ASAN: "yes"
BUILD_ANALYZE: "yes"
macos_instance: macos_instance:
image: big-sur-xcode image: big-sur-xcode
- name: "iOS" - name: "iOS"
@ -48,7 +52,6 @@ task:
DIST: "iOS" DIST: "iOS"
MAKE: "make" 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" 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" CFLAGS: "-arch armv7 -arch armv7s -arch arm64 -miphoneos-version-min=10.0"
CONFIG_OPTS: "--host=arm-apple-darwin10 --disable-tests" CONFIG_OPTS: "--host=arm-apple-darwin10 --disable-tests"
macos_instance: macos_instance:
@ -91,6 +94,7 @@ task:
CXXFLAGS: "-fsanitize=leak" CXXFLAGS: "-fsanitize=leak"
LDFLAGS: "-fsanitize=leak -lpthread" LDFLAGS: "-fsanitize=leak -lpthread"
- name: "ANALYZE" - name: "ANALYZE"
only_if: $BUILD_ANALYZE == 'yes'
env: env:
BUILD_TYPE: "analyze" BUILD_TYPE: "analyze"
CC: "clang" CC: "clang"

Loading…
Cancel
Save