Add iOS build task

This commit is contained in:
Emily Toop 2018-08-08 11:21:08 +01:00
parent 5180a3f899
commit 3b90e376b9

View file

@ -59,11 +59,9 @@ 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 cargo-lipo - cargo install cargo-lipo
script: script:
- > - cd ffi
cd ffi && - cargo lipo --release
cargo lipo --release && - cd ..
cd .. - cd sdks/swift/Mentat &&
- > - xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone SE,OS=latest' | xcpretty
cd sdks/swift/Mentat && - cd ../../..
xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone SE,OS=latest' | xcpretty &&
cd ../../..