-
Notifications
You must be signed in to change notification settings - Fork 1
Add arm builds #102
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
Add arm builds #102
Conversation
|
shenxianpeng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it needs to add too much code here
It should be something like
clang-tools-docker/docker-bake.hcl
Line 170 in f67f8ee
| tgt = ["16-alpine", "17-alpine", "18-alpine", "19-alpine", "20-alpine"] |
| build: | ||
| needs: extract-targets | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| runs-on: ubuntu-latest |
| strategy: | ||
| matrix: | ||
| target: [ "all", "20", "20-alpine", "19", "19-alpine", "18", "18-alpine", "17", "17-alpine", "16", "16-alpine", "15", "14", "13", "12", "11", "10", "9", "8", "7"] | ||
| target: ${{ fromJson(needs.extract-targets.outputs.targets) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this idea.
|
Since I’ve added arm64 support and some Alpine images #101, it might be a good idea to start working from the master branch. |
|
Ok thanks I'll have a look |
|
I'll close this and add another PR for the CI. I think you already implemented the rest on master |



Add arm build to use this on mac with M1 chip.
Also add the alpine version to all targets and automatically get the build list from the buildx cofnig in the ci