Skip to content
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

CI: Enable openssl and rustls on loongarch64 #3579

Merged
merged 3 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 3 additions & 23 deletions ci/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,10 @@ rustc -vV
cargo -vV


FEATURES=('--no-default-features' '--features' 'reqwest-backend')
FEATURES=('--no-default-features' '--features' 'curl-backend,reqwest-backend,reqwest-default-tls')
case "$(uname -s)" in
*NT* ) ;; # Windows NT
* )
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') ;;
* ) FEATURES+=('--features' 'vendored-openssl') ;;
esac

case "$TARGET" in
Expand Down Expand Up @@ -51,15 +39,7 @@ target_cargo() {
target_cargo build

download_pkg_test() {
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

features=('--no-default-features' '--features' 'curl-backend,reqwest-backend,reqwest-default-tls')
case "$TARGET" in
# these platforms aren't supported by ring:
powerpc* ) ;;
Expand Down
Loading