From 38ad1e4db80b2575451db9429afd525b80e12d1f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 7 Oct 2019 13:57:01 +0200 Subject: [PATCH] Add OSX/IOS cross-compilation test to Travis CI --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 72e29091d..b3d9e001a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -173,6 +173,12 @@ matrix: env: - BTYPE="BINARY=32 FC=gfortran-8" + - <<: *test-macos + osx_image: xcode10.1 + env: + - CC="/Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk" CFLAGS="-O2 -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -arch arm64 -miphoneos-version-min=10.0" + - BTYPE="TARGET=ARMV8 BINARY=64 HOSTCC=clang" + # whitelist branches: only: