Skip to content

Commit 42eaffd

Browse files
committed
Revert "Build Linux release binaries with the musl library (#413)"
This reverts commit 2a18ddf. This likely caused released binaries to be broken (see #606).
1 parent cdaeda2 commit 42eaffd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.taskcluster.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -230,28 +230,28 @@ tasks:
230230
workerType: ci
231231
payload:
232232
maxRunTime: 3600
233-
image: "ekidd/rust-musl-builder:stable"
233+
image: "rust:buster"
234234
command:
235235
- "/bin/bash"
236236
- "-cx"
237237
- "git clone --quiet ${repository} &&
238238
cd rust-code-analysis &&
239239
git -c advice.detachedHead=false checkout ${head_rev} &&
240-
cargo build --workspace --release --target x86_64-unknown-linux-musl &&
241-
cargo package --all-features --target x86_64-unknown-linux-musl &&
242-
pushd rust-code-analysis-cli && cargo package --all-features --target x86_64-unknown-linux-musl && popd &&
243-
pushd rust-code-analysis-web && cargo package --all-features --target x86_64-unknown-linux-musl && popd &&
244-
cd target/x86_64-unknown-linux-musl/release &&
245-
tar -zvcf /home/rust/rust-code-analysis-linux-cli-x86_64.tar.gz rust-code-analysis-cli &&
246-
tar -zvcf /home/rust/rust-code-analysis-linux-web-x86_64.tar.gz rust-code-analysis-web"
240+
cargo build --workspace --release &&
241+
cargo package --all-features &&
242+
pushd rust-code-analysis-cli && cargo package --all-features && popd &&
243+
pushd rust-code-analysis-web && cargo package --all-features && popd &&
244+
cd target/release &&
245+
tar -zvcf /rust-code-analysis-linux-cli-x86_64.tar.gz rust-code-analysis-cli &&
246+
tar -zvcf /rust-code-analysis-linux-web-x86_64.tar.gz rust-code-analysis-web"
247247
artifacts:
248248
public/rust-code-analysis-linux-cli-x86_64.tar.gz:
249249
expires: {$fromNow: '2 weeks'}
250-
path: /home/rust/rust-code-analysis-linux-cli-x86_64.tar.gz
250+
path: /rust-code-analysis-linux-cli-x86_64.tar.gz
251251
type: file
252252
public/rust-code-analysis-linux-web-x86_64.tar.gz:
253253
expires: {$fromNow: '2 weeks'}
254-
path: /home/rust/rust-code-analysis-linux-web-x86_64.tar.gz
254+
path: /rust-code-analysis-linux-web-x86_64.tar.gz
255255
type: file
256256
metadata:
257257
name: rust-code-analysis linux release build

0 commit comments

Comments
 (0)