5 ms·
This tool has really cool potential! Just one problem I noticed imminently that prevents me from using this, the docker agent container[1] isn't multi-architec
by inyorgroove 2y ago
This tool has really cool potential!
Just one problem I noticed imminently that prevents me from using this, the docker agent container[1] isn't multi-architecture, this will be an issue on Apple Silicon devices. This is something I have some experience setting up if you are looking for help, though will take some research to figure out how to get going in github actions etc.
1: https://github.com/evanrolfe/trayce_agent/ https://github.com/evanrolfe/trayce_agent/
EDIT: quick search found this post, tested on a side project repo it works great: https://depot.dev/blog/multi-platform-docker-images-in-github-actions https://depot.dev/blog/multi-platform-docker-images-in-githu...
- deleted 2y ago[deleted]
- ev_dev3 2y agoGood point, thanks. Its only ever been tested on a Mac with an Intel chip. I will try and sort this out ASAP!
- inyorgroove 2y agoI did submit a PR with a partial implementation, well the Docker and Github side. I am useless at the C and low level code.
- westurner 2y agoWho has CI build runners for the given architectures?
- inyorgroove 2y agoIt looks[1] like github actions only run on amd64 hosts, so if you use a platform matrix like in this example[2] I am fairly certain it is running under qemu just based on the fact that is takes roughly 10 times longer to run. I am aware of Blaze[3] has arm64 runners. If you are willing to pay for it, you can also setup a runner that uses AWS Graviton EC2 instances[4], we do that at my workplace for our multi architecture builds. 1: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#cloud-hosts-used-by-github-hosted-runners https://docs.github.com/en/actions/using-github-hosted-runne... 2: https://docs.docker.com/build/ci/github-actions/multi-platform/ https://docs.docker.com/build/ci/github-actions/multi-platfo... 3: https://www.runblaze.dev/ https://www.runblaze.dev/ 4: https://aws.amazon.com/ec2/graviton/ https://aws.amazon.com/ec2/graviton/