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

ci(build-win-native): use symbolic link for pinning toolchain #2676

Merged
merged 3 commits into from
May 23, 2023

Conversation

StackOverflowExcept1on
Copy link
Member

@StackOverflowExcept1on StackOverflowExcept1on commented May 22, 2023

Resolves #2665

Previously, this problem may not have been noticed due to the lack of pinning of the toolchain.

The reason we use a symbolic link instead of a move is because the gear.sh script runs cargo build and for some reason cargo decided to reinstall the toolchain without wasm32-unknown-unknown target.

The problem appears here:
https://github.com/gear-tech/gear/actions/runs/4729497517/jobs/8963897937#step:15:17
image

Copy link
Contributor

@shamilsan shamilsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a link to the successful build job after the fix.

@StackOverflowExcept1on StackOverflowExcept1on added the A2-mergeoncegreen PR is ready to merge after CI passes label May 22, 2023
@StackOverflowExcept1on
Copy link
Member Author

I just launched workflow in separate branch: https://github.com/gear-tech/gear/actions/runs/5045063083

@breathx
Copy link
Member

breathx commented May 22, 2023

why mv doesn't work?

@shamilsan
Copy link
Contributor

@StackOverflowExcept1on
Copy link
Member Author

@breathx I added an explanation in the PR why the symlink fixes this
@shamilsan you can see successful build here: https://github.com/gear-tech/gear/actions/runs/5049179452

@shamilsan shamilsan merged commit 82252c1 into master May 23, 2023
8 checks passed
@shamilsan shamilsan deleted the github-actions-av branch May 23, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A2-mergeoncegreen PR is ready to merge after CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: Native Windows build fails
3 participants