Fix build errors
- Install `musl-tools` which provides the `musl-gcc` binary, needed for the package script on ubuntu. - Fix contributing file name type: fixed
This commit is contained in:
parent
4cbeca802a
commit
b96c27e9b1
|
@ -15,6 +15,10 @@ test -f Cargo.lock || cargo generate-lockfile
|
||||||
|
|
||||||
echo "Building $bin..."
|
echo "Building $bin..."
|
||||||
|
|
||||||
|
if [ "$os" = "ubuntu-latest" ]; then
|
||||||
|
sudo apt-get install musl-tools
|
||||||
|
fi
|
||||||
|
|
||||||
case $os in
|
case $os in
|
||||||
ubuntu-latest | macos-latest)
|
ubuntu-latest | macos-latest)
|
||||||
cargo rustc --bin $bin --target $target --release -- -C lto
|
cargo rustc --bin $bin --target $target --release -- -C lto
|
||||||
|
@ -33,7 +37,7 @@ cp \
|
||||||
Cargo.lock \
|
Cargo.lock \
|
||||||
Cargo.toml \
|
Cargo.toml \
|
||||||
CHANGELOG.md \
|
CHANGELOG.md \
|
||||||
CONTRIBUTING.md \
|
CONTRIBUTING \
|
||||||
LICENSE \
|
LICENSE \
|
||||||
README.md \
|
README.md \
|
||||||
$dist
|
$dist
|
||||||
|
|
Loading…
Reference in New Issue
Block a user