This commit is contained in:
finn 2022-12-19 21:50:37 -08:00
parent 8382f8f189
commit 838cff2999

View file

@ -39,8 +39,10 @@ compile:
- git clone https://github.com/signalapp/libsignal-client
- cd libsignal-client && git checkout "$libsignal_version"
- rustup target add "${TARGET}"
- if [[ -d ../target ]]; then mv ../target target; fi
- RUSTFLAGS="$(../rustflags.sh)" cargo build -p libsignal-jni --target "${TARGET}" --release --verbose
- cp -v target/${TARGET}/release/libsignal_jni.so ../libsignal_jni-${TARGET}.so
- cp target/ ../target
variables:
CC: clang-13
CXX: clang++-13
@ -56,8 +58,9 @@ compile:
CC_LD: lld-13
CXX_LD: lld-13
LD: lld-13
# cache:
# paths: [/root/.cargo]
cache:
paths:
- target/
artifacts:
paths: