From dfc96ec16d0be60afa93416a397dde9d61c8ca22 Mon Sep 17 00:00:00 2001 From: Piotr Galar Date: Fri, 17 Oct 2025 18:30:56 +0200 Subject: [PATCH] Revert "ci: stop supporting x64 macos binaries (#25)" This reverts commit cebaa72bd5447590c57c54f568c38789715271cd. --- Templates/lotus-miner.rb | 12 +++++------- Templates/lotus.rb | 10 ++++------ load-from-github.sh | 8 ++++---- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/Templates/lotus-miner.rb b/Templates/lotus-miner.rb index 2156669..c2457dc 100644 --- a/Templates/lotus-miner.rb +++ b/Templates/lotus-miner.rb @@ -8,14 +8,12 @@ class LotusMiner < Formula depends_on "hwloc" on_macos do - on_arm do - url "${MINER_MACOS_URL}" - sha256 "${MINER_MACOS_SHA}" + url "${MINER_MACOS_URL}" + sha256 "${MINER_MACOS_SHA}" - def install - bin.install "lotus-miner" - bin.install "lotus-worker" - end + def install + bin.install "lotus-miner" + bin.install "lotus-worker" end end diff --git a/Templates/lotus.rb b/Templates/lotus.rb index cf95931..8996a87 100644 --- a/Templates/lotus.rb +++ b/Templates/lotus.rb @@ -8,13 +8,11 @@ class Lotus < Formula depends_on "hwloc" on_macos do - on_arm do - url "${NODE_MACOS_URL}" - sha256 "${NODE_MACOS_SHA}" + url "${NODE_MACOS_URL}" + sha256 "${NODE_MACOS_SHA}" - def install - bin.install "lotus" - end + def install + bin.install "lotus" end end diff --git a/load-from-github.sh b/load-from-github.sh index 85edec1..a7183ce 100755 --- a/load-from-github.sh +++ b/load-from-github.sh @@ -31,14 +31,14 @@ miner_tag=$(get_latest_release "miner/v") miner_version=${miner_tag#"miner/v"} # Node URLS -node_macos_url="https://github.com/${REPO}/releases/download/${node_tag}/lotus_${node_tag}_darwin_arm64.tar.gz" -node_macos_sha_url="https://github.com/${REPO}/releases/download/${node_tag}/lotus_${node_tag}_darwin_arm64.tar.gz.sha512" +node_macos_url="https://github.com/${REPO}/releases/download/${node_tag}/lotus_${node_tag}_darwin_all.tar.gz" +node_macos_sha_url="https://github.com/${REPO}/releases/download/${node_tag}/lotus_${node_tag}_darwin_all.tar.gz.sha512" node_linux_intel_url="https://github.com/${REPO}/releases/download/${node_tag}/lotus_${node_tag}_linux_amd64_v1.tar.gz" node_linux_intel_sha_url="https://github.com/${REPO}/releases/download/${node_tag}/lotus_${node_tag}_linux_amd64_v1.tar.gz.sha512" # Miner URLS -miner_macos_url="https://github.com/${REPO}/releases/download/${miner_tag}/lotus-miner_v${miner_version}_darwin_arm64.tar.gz" -miner_macos_sha_url="https://github.com/${REPO}/releases/download/${miner_tag}/lotus-miner_v${miner_version}_darwin_arm64.tar.gz.sha512" +miner_macos_url="https://github.com/${REPO}/releases/download/${miner_tag}/lotus-miner_v${miner_version}_darwin_all.tar.gz" +miner_macos_sha_url="https://github.com/${REPO}/releases/download/${miner_tag}/lotus-miner_v${miner_version}_darwin_all.tar.gz.sha512" miner_linux_intel_url="https://github.com/${REPO}/releases/download/${miner_tag}/lotus-miner_v${miner_version}_linux_amd64_v1.tar.gz" miner_linux_intel_sha_url="https://github.com/${REPO}/releases/download/${miner_tag}/lotus-miner_v${miner_version}_linux_amd64_v1.tar.gz.sha512"