mirror of
https://gitlab.com/signald/libraries/libsignal-client.git
synced 2024-12-04 19:46: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
|
- git clone https://github.com/signalapp/libsignal-client
|
||||||
- cd libsignal-client && git checkout "$libsignal_version"
|
- cd libsignal-client && git checkout "$libsignal_version"
|
||||||
- rustup target add "${TARGET}"
|
- rustup target add "${TARGET}"
|
||||||
|
- if [[ -d ../target ]]; then mv ../target target; fi
|
||||||
- RUSTFLAGS="$(../rustflags.sh)" cargo build -p libsignal-jni --target "${TARGET}" --release --verbose
|
- 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 -v target/${TARGET}/release/libsignal_jni.so ../libsignal_jni-${TARGET}.so
|
||||||
|
- cp target/ ../target
|
||||||
variables:
|
variables:
|
||||||
CC: clang-13
|
CC: clang-13
|
||||||
CXX: clang++-13
|
CXX: clang++-13
|
||||||
|
@ -56,8 +58,9 @@ compile:
|
||||||
CC_LD: lld-13
|
CC_LD: lld-13
|
||||||
CXX_LD: lld-13
|
CXX_LD: lld-13
|
||||||
LD: lld-13
|
LD: lld-13
|
||||||
# cache:
|
cache:
|
||||||
# paths: [/root/.cargo]
|
paths:
|
||||||
|
- target/
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue