Add iOS build task

This commit is contained in:
Emily Toop 2018-08-07 18:48:41 +01:00
parent a5fd51f6be
commit 3f7e808f4b

View file

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