mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
ci: add riscv64 to release build matrix (#7337)
--------- Signed-off-by: Bruno Verachten <gounthar@gmail.com>
This commit is contained in:
@@ -55,6 +55,10 @@ jobs:
|
|||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
name: starship-arm-unknown-linux-musleabihf.tar.gz
|
name: starship-arm-unknown-linux-musleabihf.tar.gz
|
||||||
|
|
||||||
|
- target: riscv64gc-unknown-linux-musl
|
||||||
|
os: ubuntu-latest
|
||||||
|
name: starship-riscv64gc-unknown-linux-musl.tar.gz
|
||||||
|
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
name: starship-x86_64-apple-darwin.tar.gz
|
name: starship-x86_64-apple-darwin.tar.gz
|
||||||
|
|||||||
+3
-1
@@ -18,7 +18,8 @@ SUPPORTED_TARGETS="x86_64-unknown-linux-gnu x86_64-unknown-linux-musl \
|
|||||||
arm-unknown-linux-musleabihf x86_64-apple-darwin \
|
arm-unknown-linux-musleabihf x86_64-apple-darwin \
|
||||||
aarch64-apple-darwin x86_64-pc-windows-msvc \
|
aarch64-apple-darwin x86_64-pc-windows-msvc \
|
||||||
i686-pc-windows-msvc aarch64-pc-windows-msvc \
|
i686-pc-windows-msvc aarch64-pc-windows-msvc \
|
||||||
x86_64-unknown-freebsd"
|
x86_64-unknown-freebsd \
|
||||||
|
riscv64gc-unknown-linux-musl"
|
||||||
|
|
||||||
info() {
|
info() {
|
||||||
printf '%s\n' "${BOLD}${GREY}>${NO_COLOR} $*"
|
printf '%s\n' "${BOLD}${GREY}>${NO_COLOR} $*"
|
||||||
@@ -242,6 +243,7 @@ detect_arch() {
|
|||||||
amd64) arch="x86_64" ;;
|
amd64) arch="x86_64" ;;
|
||||||
armv*) arch="arm" ;;
|
armv*) arch="arm" ;;
|
||||||
arm64) arch="aarch64" ;;
|
arm64) arch="aarch64" ;;
|
||||||
|
riscv64) arch="riscv64gc" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# `uname -m` in some cases mis-reports 32-bit OS as 64-bit, so double check
|
# `uname -m` in some cases mis-reports 32-bit OS as 64-bit, so double check
|
||||||
|
|||||||
Reference in New Issue
Block a user