-
Notifications
You must be signed in to change notification settings - Fork 17
Extend packaging to macOS #92
Comments
After discussing this ticket via IM with @dimas1185, I want to share some notes on this task publicly. AntelopeIO/leap and AntelopeIO/cdt were forked from EOSIO/eos and EOSIO/eosio.cdt respectively, but they were not forked from the latest version (intentionally). Leap, in particular, was forked from
I do not know if these improvements made it to CDT or not. We should be able to copy/pasta most of this code as-is, and it should still work. It was one of the few contributions I worked on in my last few years at block.one that have been open-sourced. The The CICD system used the EOSIO/eos/scripts/generate_bottle.sh script to package Homebrew "bottle(s)" as These scripts should work as-is and only minor changes will be necessary to adapt them to run on GitHub Actions instead of Buildkite. Here is an example of a ruby file supporting multiple versions of macOS. The file format is pretty straightforward. Note that the comments at the top of the file are important, though I do not remember why at this point. I recommend we use our own Homebrew tap for now. This would involve creating a public brew tap antelopeio/dune ...then an install. brew install dune I understand the desire to include DUNE in the central Homebrew repository at Homebrew/homebrew-core/Formula such that customers do not have to perform a "tap," however I have the following concerns:
These may be concerns the Homebrew community has already addressed, I'm not sure. |
As macOS user I would like to be able to package DUNE on last 3 version of macOS which are:
macOS 11 | Big Sur
macOS 12 | Monterey
macOS 13 | Ventura
Script copied from CDT packaging on macOS gives following error on Monterey 12.6:
./generate_package.sh brew Error, unsupported OS X version
Script is available on branch: https://github.com/AntelopeIO/DUNE/tree/mikelik/macos
Originally posted by @dimas1185 in #75 (comment)
The text was updated successfully, but these errors were encountered: