Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/amannn/action-sema…
Browse files Browse the repository at this point in the history
…ntic-pull-request-5.5.2
  • Loading branch information
disruptek authored May 24, 2024
2 parents be1e177 + a599e92 commit 9876500
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/help.overview
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ printf "https://github.com/nim-works/nimskull\n\n"

printf "supported architectures:\n"
printf "\tx86_64-linux-gnu\n"
printf "\tx86_64-apple-darwin\n\n"
printf "\tx86_64-apple-darwin\n"
printf "\tarm64-apple-darwin\n\n"
printf "operating system requirements:\n\n"
15 changes: 15 additions & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ check_sha256() {
# compare sha256 of src and dst on macos; fail if mismatch
shasum -a 256 --check --status <(echo "$src $dst") || fail "Checksum mismatch for $dst"
;;
arm64-apple-darwin)
# compare sha256 of src and dst on macos; fail if mismatch
shasum -a 256 --check --status <(echo "$src $dst") || fail "Checksum mismatch for $dst"
;;
aarch64-apple-darwin)
# compare sha256 of src and dst on macos; fail if mismatch
shasum -a 256 --check --status <(echo "$src $dst") || fail "Checksum mismatch for $dst"
;;
*)
fail "Unsupported target triple '$target'"
;;
Expand All @@ -95,6 +103,13 @@ download_release() {
x86_64-apple-darwin)
platform="macosx_amd64"
;;
arm64-apple-darwin)
platform="macosx_arm64"
target="aarch64-apple-darwin"
;;
aarch64-apple-darwin)
platform="macosx_arm64"
;;
*)
fail "Unsupported target triple '$target'"
;;
Expand Down

0 comments on commit 9876500

Please sign in to comment.