mirror of
https://github.com/starship/starship.git
synced 2024-11-07 08:54:50 +01:00
Add s390x arch build
rust using cross build tool so it can build out s390x binary from x86 platform fix: #5808
This commit is contained in:
parent
f38bf826a4
commit
44d1c27f4f
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -50,6 +50,10 @@ jobs:
|
||||
- target: aarch64-unknown-linux-musl
|
||||
os: ubuntu-latest
|
||||
name: starship-aarch64-unknown-linux-musl.tar.gz
|
||||
|
||||
- target: s390x-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
name: starship-s390x-unknown-linux-gnu.tar.gz
|
||||
|
||||
- target: arm-unknown-linux-musleabihf
|
||||
os: ubuntu-latest
|
||||
|
@ -18,7 +18,7 @@ SUPPORTED_TARGETS="x86_64-unknown-linux-gnu x86_64-unknown-linux-musl \
|
||||
arm-unknown-linux-musleabihf x86_64-apple-darwin \
|
||||
aarch64-apple-darwin x86_64-pc-windows-msvc \
|
||||
i686-pc-windows-msvc aarch64-pc-windows-msvc \
|
||||
x86_64-unknown-freebsd"
|
||||
x86_64-unknown-freebsd s390x-unknown-linux-gnu"
|
||||
|
||||
info() {
|
||||
printf '%s\n' "${BOLD}${GREY}>${NO_COLOR} $*"
|
||||
@ -225,6 +225,7 @@ detect_platform() {
|
||||
# - i386
|
||||
# - arm
|
||||
# - arm64
|
||||
# - s390x
|
||||
detect_arch() {
|
||||
arch="$(uname -m | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user