workflow: added github workflow automated linux-arm64 builds via native arm runners #16093
+168
−0
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.
Rationale
There has been a demand for verifiable linux-arm64 builds for some time ( #11351 ) so I decided to create a Github workflow where you can specify the version string (e.g. v0.8.24) and it will build the binary and upload it as an artifact. Currently the workflow is configured to only manually run, but if feel free to modify this to e.g. build the latest version at every new release. I added one workflow that uses arm-native runners (fast) and a slow runner that uses qemu+x86 runners. I had to dynamically include
cstdint
library to fix the runner's build step.