diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24e93c7..9ad8afd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,7 +50,7 @@ compile: cache: paths: - target/ - + key: rust-target-$TARGET artifacts: paths: - libsignal_jni-$TARGET.so diff --git a/prepare-env.sh b/prepare-env.sh index f626b1c..6e68c60 100755 --- a/prepare-env.sh +++ b/prepare-env.sh @@ -20,6 +20,9 @@ case "${TARGET}" in x86_64-unknown-linux-musl) apt-get install -yqq "${PACKAGES[@]}" musl-tools ;; + x86_64-unknown-linux-gnu) + apt-get install -yqq "${PACKAGES[@]}" binutils g++ gcc + ;; *) apt-get install -yqq "${PACKAGES[@]}" ;;