Add iOS build task
This commit is contained in:
parent
76d1acdedf
commit
a121f2a0eb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue