From a69212521495d5ee8af133903340017de0da5593 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Wed, 11 Oct 2023 09:30:01 -0400 Subject: [PATCH] ci: generate pre-built binaries for darwin and arm64 (#2654) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://github.com/celestiaorg/celestia-app/issues/2567 ## Testing Testing with binaries on [my fork](https://github.com/rootulp/celestia-app/releases/tag/v1.0.0-rc5). | os | arch | machine | works | notes | |--------|----------------|---------------|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | darwin | arm64 | Rootul's MBP | ✅ | I had to circumvent [Apple can't check app for malicious software](https://support.apple.com/guide/mac-help/apple-cant-check-app-for-malicious-software-mchleab3a043/mac) | | darwin | amd64 (x86_64) | AWS | ✅ | | | linux | arm64 | AWS | ✅ | | | linux | amd64 (x86_64) | Digital Ocean | ✅ | | --- .goreleaser.yaml | 2 ++ README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5d9ba2625a..ae0c789a45 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -19,7 +19,9 @@ builds: - SDKPath={{ "github.com/cosmos/cosmos-sdk/version" }} goarch: - amd64 + - arm64 goos: + - darwin - linux tags: - ledger diff --git a/README.md b/README.md index 5a71f78ebc..6aa0ea0f9a 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ node | | | | If you'd rather not install from source, you can download a pre-built binary from the [releases](https://github.com/celestiaorg/celestia-app/releases) page. 1. Navigate to the latest release on . -1. Download the binary for your platform (e.g. `celestia-app_Linux_x86_64.tar.gz`) from the **Assets** section. +1. Download the binary for your platform (e.g. `celestia-app_Linux_x86_64.tar.gz`) from the **Assets** section. Tip: if you're not sure what platform you're on, you can run `uname -a` and look for the operating system (e.g. `Linux`, `Darwin`) and architecture (e.g. `x86_64`, `arm64`). 1. Extract the archive ```shell @@ -69,7 +69,7 @@ If you'd rather not install from source, you can download a pre-built binary fro If you use a pre-built binary, you may also want to verify the checksums and signatures. 1. Navigate to the latest release on . -1. Download `checksums.txt`, `checksums.txt.sig`, and the binary for your platform (e.g. `celestia-app_Linux_x86_64.tar.gz`) from the **Assets** section. +1. Download `checksums.txt`, `checksums.txt.sig`, and the binary for your platform (e.g. `celestia-app_Linux_x86_64.tar.gz`) from the **Assets** section. Tip: if you're not sure what platform you're on, you can run `uname -a` and look for the operating system (e.g. `Linux`, `Darwin`) and architecture (e.g. `x86_64`, `arm64`). 1. Verify the checksums ```shell