diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e1b8e6..57f8774 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,6 +39,7 @@ compile: script: - git clone https://github.com/signalapp/libsignal-client - cd libsignal-client && git checkout "$libsignal_version" + - rustup set profile minimal - rustup target add "${TARGET}" - if [[ -d ../target ]]; then mv ../target target; fi - RUSTFLAGS="$(../rustflags.sh)" cargo build -p libsignal-jni --target "${TARGET}" --release --verbose diff --git a/prepare-env.sh b/prepare-env.sh index af7e441..ee7a6e8 100755 --- a/prepare-env.sh +++ b/prepare-env.sh @@ -6,7 +6,7 @@ apt-get update PACKAGES=("git" "clang-13" "libclang-dev" "lld-13" "cmake" "make" "gcc-multilib" "g++-multilib") case "${TARGET}" in aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl) - apt-get install -yqq "${PACKAGES[@]}" crossbuild-essential-arm64 gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu + apt-get install -yqq "${PACKAGES[@]}" # crossbuild-essential-arm64 # gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu ;; arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi) apt-get install -yqq "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi linux-libc-dev-armel-cross