improve code for build

This commit is contained in:
houseme
2025-04-07 17:47:43 +08:00
parent 212ec9ca69
commit 96625b42ff
2 changed files with 3 additions and 11 deletions

View File

@@ -33,7 +33,6 @@ 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

View File

@@ -17,16 +17,9 @@ jobs:
matrix:
variant:
- { profile: dev, target: x86_64-unknown-linux-musl, glibc: "default" }
- {
profile: release,
target: x86_64-unknown-linux-musl,
glibc: "default",
}
- {
profile: release,
target: x86_64-unknown-linux-musl,
glibc: "2.31",
}
- { profile: release, target: x86_64-unknown-linux-musl, glibc: "default" }
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "default" }
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "2.31" }
steps:
- uses: actions/checkout@v4