Add iOS build task

This commit is contained in:
Emily Toop 2018-08-08 17:00:36 +01:00
parent 2ab340155a
commit 8287dd308c

View file

@ -57,8 +57,8 @@ matrix:
os: osx
install:
- rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios x86_64-apple-ios i386-apple-ios
# Cargo-lipo needs to be Beta version available on master and not crates version to handle building in subdirectories
- cargo install --git https://github.com/TimNN/cargo-lipo
# - gem install xcode-install
- instruments -s devices
script:
- >
@ -66,5 +66,5 @@ matrix:
cargo lipo --release &&
cd ..
- cd sdks/swift/Mentat
- xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'id=67DD9AEE-EDAA-49A0-8245-0CE76F3B54A3'
- xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone X,OS=11.4'
- cd ../../..