Closed shashitnak closed 6 months ago
@shashitnak The problem seems to be that you're using a container to do cross-build for: linux-x64-musl
, linux-arm64-gnu
, linux-arm64-musl
, linux-ia32-gnu
, and win32-ia32-gnu
.
It seems that you have 2 problems:
protoc
.Unfortunately, I can give you some hints only for the first point. When using GithubActions the setup-protoc (and similar actions) install the tool in the base os. If you're using an action that runs a container, all the tools you have installed in the base OS aren't available in the container. In your case, the cargo-action you're using for cross-compiling, under the hood uses the cross-rs which seems to perform the compilation in a container.
If you can mount the protoc
binary in the cross-rs container you should solve the problem.
Describe the problem
Even after running the this action, our project isn't able to find the protoc installation. Getting the error below
More information about the build is present here https://github.com/tailcallhq/tailcall/actions/runs/8242720704/job/22542201296?pr=1380
If fails for the following targets
To reproduce
Expected behavior
Build should succeed because protoc should be installed by the action but the build fails because it is unable to find the installation
'arduino/setup-protoc' version
v26.0-rc3
Additional context
No response
Issue checklist