Add iOS build task

This commit is contained in:
Emily Toop 2018-08-07 15:07:24 +01:00
parent 06ea759fca
commit 76d1acdedf

View file

@ -85,14 +85,13 @@ matrix:
rust: stable rust: stable
os: osx os: osx
before_install: before_install:
- PKG_OS="darwin"; - PKG_OS="darwin"
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 cargo-lipo
cargo install cargo-lipo
script: script:
- ./scripts/ios_build.sh - ./scripts/ios_build.sh
- | - >
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
cd ../../.. cd ../../..