Add iOS build task

This commit is contained in:
Emily Toop 2018-08-08 14:42:01 +01:00
parent 0ed6001857
commit 2bf95b6d1b

View file

@ -59,12 +59,12 @@ matrix:
- 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
- cargo lipo --version - cargo lipo --version
- echo "" | xcversion simulators --install='iOS 10.3.1'
- instruments -s devices
script: script:
- cd ffi - cd ffi
- cargo lipo --release - cargo lipo --release
- cd .. - cd ..
- cd sdks/swift/Mentat - cd sdks/swift/Mentat
- echo "" | xcversion simulators --install='iOS 10.3.1'
- instruments -s devices
- xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=jibberish' | xcpretty - xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=jibberish' | xcpretty
- cd ../../.. - cd ../../..