Add iOS build task

This commit is contained in:
Emily Toop 2018-08-08 15:52:30 +01:00
parent 468899d36e
commit 148fdd4aa4

View file

@ -58,10 +58,13 @@ matrix:
install:
- rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios x86_64-apple-ios i386-apple-ios
- cargo install --git https://github.com/TimNN/cargo-lipo
- gem install xcode-install
- instruments -s devices
script:
- cd ffi
- cargo lipo --release
- cd ..
- >
cd ffi &&
cargo lipo --release &&
cd ..
- cd sdks/swift/Mentat
- xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone X,OS=11.4' | xcpretty
- cd ../../..