mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
improve code for build
This commit is contained in:
@@ -33,7 +33,6 @@ runs:
|
|||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ inputs.rust-version }}
|
toolchain: ${{ inputs.rust-version }}
|
||||||
targets: x86_64-unknown-linux-musl
|
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|||||||
@@ -17,16 +17,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
variant:
|
variant:
|
||||||
- { profile: dev, target: x86_64-unknown-linux-musl, glibc: "default" }
|
- { profile: dev, target: x86_64-unknown-linux-musl, glibc: "default" }
|
||||||
- {
|
- { profile: release, target: x86_64-unknown-linux-musl, glibc: "default" }
|
||||||
profile: release,
|
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "default" }
|
||||||
target: x86_64-unknown-linux-musl,
|
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "2.31" }
|
||||||
glibc: "default",
|
|
||||||
}
|
|
||||||
- {
|
|
||||||
profile: release,
|
|
||||||
target: x86_64-unknown-linux-musl,
|
|
||||||
glibc: "2.31",
|
|
||||||
}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user