Skip to content

CI: Disable openssl for loongarch64-unknown-linux-gnu #3536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions ci/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,22 @@ rustc -vV
cargo -vV


FEATURES=('--no-default-features' '--features' 'curl-backend,reqwest-backend,reqwest-default-tls')
FEATURES=('--no-default-features' '--features' 'reqwest-backend')
case "$(uname -s)" in
*NT* ) ;; # Windows NT
* ) FEATURES+=('--features' 'vendored-openssl') ;;
* )
case "$TARGET" in
loongarch* ) ;;
*) FEATURES+=('--features' 'vendored-openssl') ;;
esac
;;
esac

case "$TARGET" in
# these platforms aren't supported by openssl:
loongarch* ) ;;
# default case, build with openssl enabled
* ) FEATURES+=('--features' 'curl-backend,reqwest-default-tls') ;;
esac

case "$TARGET" in
Expand All @@ -20,7 +32,6 @@ case "$TARGET" in
mips* ) ;;
riscv* ) ;;
s390x* ) ;;
loongarch* ) ;;
aarch64-pc-windows-msvc ) ;;
# default case, build with rustls enabled
* ) FEATURES+=('--features' 'reqwest-rustls-tls') ;;
Expand All @@ -40,14 +51,21 @@ target_cargo() {
target_cargo build

download_pkg_test() {
features=('--no-default-features' '--features' 'curl-backend,reqwest-backend,reqwest-default-tls')
features=('--no-default-features' '--features' 'reqwest-backend')

case "$TARGET" in
# these platforms aren't supported by openssl:
loongarch* ) ;;
# default case, build with openssl enabled
* ) features+=('--features' 'curl-backend,reqwest-default-tls') ;;
esac

case "$TARGET" in
# these platforms aren't supported by ring:
powerpc* ) ;;
mips* ) ;;
riscv* ) ;;
s390x* ) ;;
loongarch* ) ;;
aarch64-pc-windows-msvc ) ;;
# default case, build with rustls enabled
* ) features+=('--features' 'reqwest-rustls-tls') ;;
Expand Down