Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS users can easily install the native AlgoKit cli #389

Closed
5 of 7 tasks
neilcampbell opened this issue Jan 10, 2024 · 0 comments · Fixed by #416, #431 or #432
Closed
5 of 7 tasks

MacOS users can easily install the native AlgoKit cli #389

neilcampbell opened this issue Jan 10, 2024 · 0 comments · Fixed by #416, #431 or #432
Assignees
Labels
algokitv3 AlgoKit v3 backlog items

Comments

@neilcampbell
Copy link
Contributor

neilcampbell commented Jan 10, 2024

Description

As a MacOS user
I want to install the AlgoKit cli using brew
So that I have a seamless install and upgrade experience

Technical Details

Acceptance Criteria

Tasks

Tasks

  • Get familiar with codesign commands for mac os binaries. Enhance release ci pipeline to codesign the binary prior to release to brew tap (evaluate whether there is any value to instead parametrize the build artifact action to take care of codesigning step vs having dedicated step as part of the cd workflow).
  • Add support for apple silicon runners
  • Duplicate existing binary build action for mac to be run on a matrix that includes both arm64 and amd64 instead of current setup that relies on amd64 based macos-latest runner. This is to ensure we support apple silicon. Github has free runners on m1 available as of last week, refer to github actions docs for more info.
  • Upgrade existing brew release flow by copying poc implementation from fork commit (sample action run that publishes cask with binary in it instead of the wheel). Further polish and refine poc implementation by updating the cask definition to conditionally pick arm vs amd64 binary based on os architecture of the user during cask installation (see refs on how to achieve that).
  • Explicitly verify brew behaviour when updating algokit installed from brew as a wheel vs a new brew version that is installed as a binary.
  • Perform initial e2e release by incorporating signing using Apple developer certificates provided by @Loedn
  • Document new installation option on the main readme for mac and brew users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment