mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-21 11:56:38 +00:00
Merge pull request #294 from rustfs/feature/action-x
Change build target to `x86_64-unknown-linux-musl` and update system …
This commit is contained in:
@@ -21,6 +21,8 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y \
|
sudo apt install -y \
|
||||||
|
musl-tools \
|
||||||
|
build-essential \
|
||||||
lld \
|
lld \
|
||||||
libdbus-1-dev \
|
libdbus-1-dev \
|
||||||
libwayland-dev \
|
libwayland-dev \
|
||||||
@@ -38,6 +40,7 @@ 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
|
||||||
|
|||||||
+11
-11
@@ -7,7 +7,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
tags: ["v*", "*"]
|
tags: [ "v*", "*" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-rustfs:
|
build-rustfs:
|
||||||
@@ -16,17 +16,17 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
variant:
|
variant:
|
||||||
- { profile: dev, target: x86_64-unknown-linux-gnu, glibc: "default" }
|
- { profile: dev, target: x86_64-unknown-linux-musl, glibc: "default" }
|
||||||
- {
|
- {
|
||||||
profile: release,
|
profile: release,
|
||||||
target: x86_64-unknown-linux-gnu,
|
target: x86_64-unknown-linux-musl,
|
||||||
glibc: "default",
|
glibc: "default",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
profile: release,
|
profile: release,
|
||||||
target: x86_64-unknown-linux-gnu,
|
target: x86_64-unknown-linux-musl,
|
||||||
glibc: "2.31",
|
glibc: "2.31",
|
||||||
}
|
}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -190,7 +190,7 @@ jobs:
|
|||||||
|
|
||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-rustfs, build-rustfs-gui]
|
needs: [ build-rustfs, build-rustfs-gui ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/upload-artifact/merge@v4
|
- uses: actions/upload-artifact/merge@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user