chore(ci): properly set os and architecture for nightly and release #1780
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates
config.nims
according to findings by Nimbus about various CPU archs and options (https://github.com/status-im/nimbus-eth2/blob/stable/config.nims#L94). It also updates release workflows (Nightly and actual releases) to leverage these options.Next, it adds
arm64
architecture for Mac OSX system to make the released assets run on Apple M1 hardware (cc @alrevuelta)This also reverts #1759 which was an interim solution to enable compatibility between various CPU architectures.
Lastly, it changes the name of the uploaded binary artifacts to
i.e.
See the example nightly release here: https://github.com/nwaku-test-org/nwaku/releases/tag/nightly
Changes
arm64
architecture for Mac OSX system in the build matrixnative
architecture is disabled (according to Nimbus)-march=x86_64
fromMakefile
nim-waku-${OS}-latest.tar.gz
tonwaku-${{arch}}-${{os}}.tar.gz
Issue
closes #1760