mirror of
https://gitlab.com/signald/libraries/libsignal-client.git
synced 2024-12-04 11:36:37 +00:00
cache
This commit is contained in:
parent
8382f8f189
commit
838cff2999
1 changed files with 5 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue