From 42a81323153e6d52d07afd8f14cfdfb58885eeb8 Mon Sep 17 00:00:00 2001 From: finn Date: Tue, 20 Dec 2022 02:30:48 -0800 Subject: [PATCH] add x86 gcc packages --- .gitlab-ci.yml | 2 +- prepare-env.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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[@]}" ;;