Closed missuo closed 1 year ago
Hello! I think you've filed this in the wrong place or the example workflow is wrong.
This repo is for the cross
project, which you seem to not be using here. I can't see any call to cross.
Do note that we do not provide an image for aarch64-apple-darwin
, you'll have to build and publish it yourself as described in this repo. Cross will give an warning like
Warning:
cross
does not provide a Docker image for target x86_64-apple-darwin, specify a custom image inCross.toml
. Falling back tocargo
on the host.
The best course of action for you is probably to compile on an actual mac, you can do this with github actions easily.
Another thing to note is that the mac virtual environment doesn't support linux/*
docker images.
When I cross-build using
GitHub Actions
, it passes the build with no problem, but when I run it on an M-series Mac, it shows Intel (X86_64) and doesn't seem native.The Target I use is
aarch64-apple-darwin
.