Skip to content

Commit

Permalink
Merge pull request #2025 from lzutao/use-uname-to-determine-os
Browse files Browse the repository at this point in the history
build: Use uname to determine OS
  • Loading branch information
kinnison authored Sep 27, 2019
2 parents 8a82586 + c4a8c9a commit c115fd2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ rustc -vV
cargo -vV

FEATURES=()
if [ "$TRAVIS_OS_NAME" != "windows" ]; then
FEATURES=('--features' 'vendored-openssl')
fi
case "$(uname -s)" in
*NT* ) ;; # Windows NT
* ) FEATURES=('--features' 'vendored-openssl') ;;
esac

# rustc only supports armv7: https://forge.rust-lang.org/platform-support.html
if [ "$TARGET" = arm-linux-androideabi ]; then
Expand Down

0 comments on commit c115fd2

Please sign in to comment.