Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deploy github action #6

Closed
gavriliumircea opened this issue Oct 18, 2023 · 3 comments · Fixed by #22
Closed

Fix deploy github action #6

gavriliumircea opened this issue Oct 18, 2023 · 3 comments · Fixed by #22

Comments

@gavriliumircea
Copy link
Collaborator

Right now the "Merkle API Deployment on Vercel" github action cannot be used. This seems to be related to a mismatch between the rust build target and the linux image created by vercel. Before trying to run the action it is mandatory to recreate .cargo/config.toml file (https://github.com/vercel-community/rust#prebuilt-deployments). Before trying to a fix check the list bellow that contains a series of commits with "failed fixes attempts":

@PaulRBerg
Copy link
Member

Before trying to run the action it is mandatory to recreate .cargo/config.toml file

Am I right that this is because vercel build does not allow us to pass custom compilation options, and so we need to resort to the configuration file approach?

@gavriliumircea
Copy link
Collaborator Author

It seems like it but the vercel team doesn't really offer a proper explanation or an alternative for that config file.

@PaulRBerg
Copy link
Member

Yes, it seems like it. I asked them yesterday why there's that requirement:

vercel-community/rust#134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants