Open alampros opened 3 months ago
As discussed on Discord, ["darwin-arm64", "linux-static-x64"]
works
It looks like it's still downloading the fully native binary, which creates a conflict if another linux binary is additionally specified in the binaryTargets and if it differs from the system
I think I can find a fix for this, but will have to look in detail in that logic again
Is this happening because we have both the js and go generators in there?
No, that should be unrelated. It's about the fact that the Go client attempts to download a more specific binary if "native" is defined and that can clash with additional manually defined engines. So it's a bug.
Our schema has two generators (js and go). It builds locally (apple arm m1) and locally in docker (linux/amd64 emu), however, when run in a GitHub Actions workflow, it fails with the following error:
Our schema is relatively small (208 lines) with the following generator config:
Any help in getting it built would be much appreciated!