File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -199,12 +199,15 @@ tasks:
199
199
command :
200
200
- " /bin/bash"
201
201
- " -cx"
202
- - " git clone --recursive --quiet ${repository} &&
202
+ - " apt-get update &&
203
+ apt-get install -y musl &&
204
+ rustup target add x86_64-unknown-linux-musl &&
205
+ git clone --recursive --quiet ${repository} &&
203
206
cd rust-code-analysis &&
204
207
git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev} &&
205
- cargo build --all --release &&
206
- cargo package --all-features &&
207
- cd target/release &&
208
+ env CC= \" gcc \" CXX= \" g++ \" cargo build --workspace --release --target x86_64-unknown-linux-musl &&
209
+ env CC= \" gcc \" CXX= \" g++ \" cargo package --target x86_64-unknown-linux-musl &&
210
+ cd target/x86_64-unknown-linux-musl/ release &&
208
211
strip rust-code-analysis-cli rust-code-analysis-web &&
209
212
tar -zvcf /rust-code-analysis-linux-cli-x86_64.tar.gz rust-code-analysis-cli &&
210
213
tar -zvcf /rust-code-analysis-linux-web-x86_64.tar.gz rust-code-analysis-web"
You can’t perform that action at this time.
0 commit comments