Open jchillerup opened 8 months ago
It is supported normally but it requires me to manually remember to push the ARM image anytime there is a Dockerfile change, because GitHub CI doesn’t support arm64 last I checked.
The dockerfile was just updated yesterday and I haven’t pushed the updated image yet.
if you want to check if GitHub Action supports arm now and open a PR, that’d be great. I have a local script that I use to push the updated image, which also merges the two manifests. I can send it for reference
OK, I looked at it a bit more, basically trying bullet 2. The issue is that gcc-multilib
is not supported on arm64 at all, so maybe a good-for-now solution would be to use Rosetta, i.e. force the CLI to fetch the linux/amd64
platform on Macs for now?
You don’t need gcc-multilib for the ARM build. Just comment it and it will build
The docs state that ARM is a supposed platform for the Docker way of installing libdragon, but it seems not to be the case. Using the
libdragon
CLI on my ARM based Mac I get the following:I was able to pull the image manually by specifying
--platform
to Docker pull, which means it'll run in emulated mode:Happy to attempt to fix it myself and submit a PR, but not sure what would be preferred:
ubuntu:22.04
does, so no need to change?) and somehow modify the CI/CD scripts to publish for the ARM platform as well? Maybe the actual is that there's no ARM-based runners for thelibdragon
CI/CD process?Please advise. And thanks for volunteering your time to this project :)