增加编译目标

This commit is contained in:
lbl8603
2024-04-28 23:17:33 +08:00
parent fb8d7ec5b8
commit d36d0b9491
+18
View File
@@ -51,9 +51,15 @@ jobs:
- TARGET: armv7-unknown-linux-musleabihf # raspberry pi 2-3-4, not tested - TARGET: armv7-unknown-linux-musleabihf # raspberry pi 2-3-4, not tested
OS: ubuntu-latest OS: ubuntu-latest
FEATURES: openssl-vendored FEATURES: openssl-vendored
- TARGET: armv7-unknown-linux-musleabi # raspberry pi 2-3-4, not tested
OS: ubuntu-latest
FEATURES: openssl-vendored
- TARGET: arm-unknown-linux-musleabihf # raspberry pi 0-1, not tested - TARGET: arm-unknown-linux-musleabihf # raspberry pi 0-1, not tested
OS: ubuntu-latest OS: ubuntu-latest
FEATURES: ring-cipher,openssl-vendored FEATURES: ring-cipher,openssl-vendored
- TARGET: arm-unknown-linux-musleabi # raspberry pi 0-1, not tested
OS: ubuntu-latest
FEATURES: ring-cipher,openssl-vendored
- TARGET: x86_64-apple-darwin # tested on a mac, is not properly signed so there are security warnings - TARGET: x86_64-apple-darwin # tested on a mac, is not properly signed so there are security warnings
OS: macos-latest OS: macos-latest
FEATURES: ring-cipher,openssl-vendored FEATURES: ring-cipher,openssl-vendored
@@ -112,9 +118,15 @@ jobs:
armv7-unknown-linux-musleabihf) armv7-unknown-linux-musleabihf)
MUSL_URI=armv7l-linux-musleabihf-cross MUSL_URI=armv7l-linux-musleabihf-cross
;; ;;
armv7-unknown-linux-musleabi)
MUSL_URI=armv7m-linux-musleabi-cross
;;
arm-unknown-linux-musleabihf) arm-unknown-linux-musleabihf)
MUSL_URI=arm-linux-musleabihf-cross MUSL_URI=arm-linux-musleabihf-cross
;; ;;
arm-unknown-linux-musleabi)
MUSL_URI=arm-linux-musleabi-cross
;;
mips-unknown-linux-musl) mips-unknown-linux-musl)
MUSL_URI=mips-linux-musl-cross MUSL_URI=mips-linux-musl-cross
;; ;;
@@ -145,9 +157,15 @@ jobs:
[target.armv7-unknown-linux-musleabihf] [target.armv7-unknown-linux-musleabihf]
linker = "armv7l-linux-musleabihf-gcc" linker = "armv7l-linux-musleabihf-gcc"
rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"] rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"]
[target.armv7-unknown-linux-musleabi]
linker = "armv7m-linux-musleabi-gcc"
rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"]
[target.arm-unknown-linux-musleabihf] [target.arm-unknown-linux-musleabihf]
linker = "arm-linux-musleabihf-gcc" linker = "arm-linux-musleabihf-gcc"
rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"] rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"]
[target.arm-unknown-linux-musleabi]
linker = "arm-linux-musleabi-gcc"
rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"]
[target.mipsel-unknown-linux-musl] [target.mipsel-unknown-linux-musl]
linker = "mipsel-linux-musl-gcc" linker = "mipsel-linux-musl-gcc"
rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"] rustflags = ["-C", "target-feature=+crt-static","-C", "strip=symbols"]