Add iOS build task

This commit is contained in:
Emily Toop 2018-08-07 15:04:38 +01:00
parent 7900da614c
commit 06ea759fca

View file

@ -80,3 +80,19 @@ matrix:
- cd sdks/android/Mentat
- ./gradlew --no-daemon clean :library:assemble :library:test :library:lint
- cd ../../..
- language: rust
dist: trusty
rust: stable
os: osx
before_install:
- PKG_OS="darwin";
install:
- |
rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios x86_64-apple-ios i386-apple-ios
cargo install cargo-lipo
script:
- ./scripts/ios_build.sh
- |
cd sdks/swift/Mentat
xcodebuild -configuration Debug -scheme "Mentat Debug" -sdk iphonesimulator test -destination 'platform=iOS Simulator,name=iPhone SE,OS=latest' | xcpretty
cd ../../..