mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-16 17:20:33 +00:00
Change build target to x86_64-unknown-linux-musl and update system dependencies
- Change build target from `x86_64-unknown-linux-gnu` to `x86_64-unknown-linux-musl` - Default install `x86_64-unknown-linux-musl` toolchain in setup action - Add `musl-tools` and `build-essential` to system dependencies
This commit is contained in:
3
.github/actions/setup/action.yml
vendored
3
.github/actions/setup/action.yml
vendored
@@ -21,6 +21,8 @@ runs:
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y \
|
||||
musl-tools \
|
||||
build-essential \
|
||||
lld \
|
||||
libdbus-1-dev \
|
||||
libwayland-dev \
|
||||
@@ -38,6 +40,7 @@ runs:
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ inputs.rust-version }}
|
||||
targets: x86_64-unknown-linux-musl
|
||||
components: rustfmt, clippy
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
Reference in New Issue
Block a user