Add iOS build task

This commit is contained in:
Emily Toop 2018-08-08 16:29:36 +01:00
parent 148fdd4aa4
commit 2ab340155a

View file

@ -58,7 +58,7 @@ matrix:
install: install:
- rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios x86_64-apple-ios i386-apple-ios - 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 - cargo install --git https://github.com/TimNN/cargo-lipo
- gem install xcode-install # - gem install xcode-install
- instruments -s devices - instruments -s devices
script: script:
- > - >
@ -66,5 +66,5 @@ matrix:
cargo lipo --release && cargo lipo --release &&
cd .. cd ..
- cd sdks/swift/Mentat - cd sdks/swift/Mentat
- xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone X,OS=11.4' | xcpretty - xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'id=67DD9AEE-EDAA-49A0-8245-0CE76F3B54A3'
- cd ../../.. - cd ../../..