Unverified Commit 02ce13c1 authored by Hiroshi SHIBATA's avatar Hiroshi SHIBATA Committed by GitHub
Browse files

Merge pull request #1703 from deepj/artichoke-dev-arm

Allow to install Artichoke's ARM builds on macOS
parents 5de6d5f5 1c9ab8eb
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -3,8 +3,19 @@ Linux)
  install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-unknown-linux-gnu.tar.gz" artichoke
  ;;
Darwin)
  case $(uname -m) in
  arm64)
    install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-aarch64-apple-darwin.tar.gz" artichoke
    ;;
  x86_64)
    install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-apple-darwin.tar.gz" artichoke
    ;;
  *)
    colorize 1 "Unsupported architecture: $(uname -m)"
    return 1
    ;;
  esac
  ;;
*)
  colorize 1 "Unsupported operating system: $(uname -s)"
  return 1