Add iOS build task

This commit is contained in:
Emily Toop 2018-08-08 15:13:09 +01:00
parent d724cc03fe
commit 468899d36e

View file

@ -58,12 +58,10 @@ 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
- 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
- xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=jibberish' | xcpretty - xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone X,OS=11.4' | xcpretty
- cd ../../.. - cd ../../..