massalabs / station

A gateway to the Massa blockchain
https://station.massa.net
27 stars 107 forks source link

Create an universal arch macos build #1148

Open Thykof opened 1 year ago

Thykof commented 1 year ago

Context Describe / explain why we should do this: motivations, context or other info. Keep it brief and simple - PM

Currently, we built the application for macos arm and amd architectures. We end up with 2 release assets for Mac users: on the landing page, the user has the chose between Macos amd and apple M1/M2 chip (arm).

The goal is to simplify that by proposing a single file. That will allow us to use the feature of detecting the OS of the system and showing to the user a single direct download button.

User flow Describe the user flow using user stories so the end result is super clear - PM

In the CI, build the application for arm and amd as we do right now and add a step to create a universal built using https://ss64.com/osx/lipo.html

The end user will download the installer that will work for both arm and amd CPU architectures.

How to List the step-by-step to get it do if needed - PM

Technical details Give the technical insights so anyone in the team can tackle the tasks - Dev

QA testing Does this task require some QA tests ? If yes, explain how to validate it

Additional information

we can also do this for the plugins.

gregLibert commented 10 months ago

@SlnPons can you confirm that this user XP is in the target?