Install rustup target for musl
This commit is contained in:
parent
2ac3c2ec5d
commit
3069f4bb83
|
@ -1 +1,3 @@
|
|||
target
|
||||
*.tar.gz
|
||||
*.zip
|
||||
|
|
|
@ -45,12 +45,10 @@ matrix:
|
|||
- rust: nightly
|
||||
fast_finish: true
|
||||
|
||||
script:
|
||||
- bash ci/script.sh
|
||||
|
||||
before_deploy:
|
||||
- bash ci/before_deploy.sh
|
||||
before_script: ci/before_script.sh
|
||||
script: ci/script.sh
|
||||
|
||||
before_deploy: ci/before_deploy.sh
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Build script shamelessly stolen from ripgrep :)
|
||||
|
||||
cargo build --target $TARGET --release
|
||||
|
@ -11,5 +13,6 @@ cp target/$TARGET/release/watchexec "$build_dir/$name/"
|
|||
cp {doc/watchexec.1,LICENSE} "$build_dir/$name/"
|
||||
|
||||
pushd $build_dir
|
||||
GZIP=-9 tar czf "$out_dir/$name.tar.gz" *
|
||||
tar cvf "$out_dir/$name.tar" *
|
||||
popd
|
||||
gzip -f9 "$name.tar"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
rustup target add $TARGET
|
||||
cargo clean --target $TARGET --verbose
|
|
@ -1,3 +1,4 @@
|
|||
cargo clean --target $TARGET --verbose
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cargo build --target $TARGET --verbose
|
||||
cargo test --target $TARGET --verbose
|
||||
|
|
Loading…
Reference in New Issue