mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-22 04:16:38 +00:00
add dx linux cmd
This commit is contained in:
@@ -16,9 +16,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
variant:
|
variant:
|
||||||
# - { profile: dev, target: x86_64-unknown-linux-gnu, glibc: "default" }
|
- { profile: dev, target: x86_64-unknown-linux-gnu, glibc: "default" }
|
||||||
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "default" }
|
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "default" }
|
||||||
# - { profile: release, target: x86_64-unknown-linux-gnu, glibc: "2.31" }
|
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "2.31" }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -78,6 +78,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
variant:
|
variant:
|
||||||
- { profile: release, target: x86_64-unknown-linux-gnu }
|
- { profile: release, target: x86_64-unknown-linux-gnu }
|
||||||
|
# - { profile: release, target: x86_64-apple-darwin }
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
# if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -115,6 +116,8 @@ jobs:
|
|||||||
dx bundle --platform macos --package-types "macos" --package-types "dmg" --package-types "ios" --release --profile release --out-dir ../../${release_path}
|
dx bundle --platform macos --package-types "macos" --package-types "dmg" --package-types "ios" --release --profile release --out-dir ../../${release_path}
|
||||||
elif [[ "${{ matrix.variant.target }}" == *"windows-msvc"* ]]; then
|
elif [[ "${{ matrix.variant.target }}" == *"windows-msvc"* ]]; then
|
||||||
dx bundle --platform windows --package-types "msi" --release --profile release --out-dir ../../${release_path}
|
dx bundle --platform windows --package-types "msi" --release --profile release --out-dir ../../${release_path}
|
||||||
|
elif [[ "${{ matrix.variant.target }}" == *"unknown-linux-gnu"* ]]; then
|
||||||
|
dx bundle --platform linux --package-types "deb" --package-types "rpm" --package-types "appimage" --release --profile release --out-dir ../../${release_path}
|
||||||
fi
|
fi
|
||||||
cd ../..
|
cd ../..
|
||||||
GUI_ARTIFACT_NAME="rustfs-gui-${{ matrix.variant.profile }}-${{ matrix.variant.target }}"
|
GUI_ARTIFACT_NAME="rustfs-gui-${{ matrix.variant.profile }}-${{ matrix.variant.target }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user