Add iOS build task

This commit is contained in:
Emily Toop 2018-08-07 15:42:53 +01:00
parent 76d1acdedf
commit a121f2a0eb
2 changed files with 2 additions and 2 deletions

View file

@ -84,8 +84,6 @@ matrix:
dist: trusty dist: trusty
rust: stable rust: stable
os: osx os: osx
before_install:
- 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

View file

@ -2,4 +2,6 @@ cd ffi
cargo lipo --release cargo lipo --release
cd .. cd ..
mkdir -p sdks/swift/Mentat/External-Dependencies/ mkdir -p sdks/swift/Mentat/External-Dependencies/
pwd
ls target/universal/release/
cp target/universal/release/libmentat_ffi.a sdks/swift/Mentat/External-Dependencies/ cp target/universal/release/libmentat_ffi.a sdks/swift/Mentat/External-Dependencies/