Add darwin targets

This commit is contained in:
finn 2022-10-26 20:36:11 -07:00
parent 6d01ff3808
commit 33013b4231

View file

@ -52,6 +52,7 @@ compile darwin:
script:
- git clone https://github.com/signalapp/libsignal-client
- cd libsignal-client && git checkout "$libsignal_version"
- rustup target add "${TARGET}"
- RUSTFLAGS='-C link-arg=-s' cargo build -p libsignal-jni --target "${TARGET}" --release --verbose
- cp -v target/${TARGET}/release/libsignal_jni.dylib ../libsignal_jni-${TARGET}.dylib
artifacts: