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

Updated CI workflow for LSP tests with to remove all g++/clang++ in PATH #2068

Merged
merged 1 commit into from Oct 20, 2023

Conversation

axmmisaka
Copy link
Collaborator

@axmmisaka axmmisaka commented Oct 19, 2023

After GitHub bumped its Windows Actions runner image, our LSP CI is failing, because Chololatey doesn't have g++ anymore. While the runner image is an absolute disaster (refusal to remove Strawberry Perl being one, see actions/runner-images#5459), we still need to use it, and thus still need to come up with a more robust way of uninstalling g++/clang++.

This commit removes hardcoded g++ locations, instead it uses Get-Command in powershell to locate all g++ in PATH, and delete all of them.

This should hopefully solve #2008 CI failure.

…d of hardcode

After GitHub bumped its Windows Actions runner image, our LSP CI is failing, because Chololatey doesn't have g++ anymore. While the runner image is an absolute disaster (refusal to remove Strawberry Perl being one, see actions/runner-images#5459), we still need to use it, and thus still need to come up with a more robust way of uninstalling g++/clang++.

This commit removes hardcoded g++ locations, instead it uses `Get-Command` in powershell to locate `g++` and delete all of them.
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

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

🚀

@lhstrh lhstrh changed the title Update LSP Test CI, use pwsh to remove all g++/clang++ in PATH instead of hardcode Updated CI workflow for LSP tests, use of pwsh to remove all g++/clang++ in PATH Oct 19, 2023
@lhstrh lhstrh added the ci Continuous integration label Oct 19, 2023
@lhstrh lhstrh changed the title Updated CI workflow for LSP tests, use of pwsh to remove all g++/clang++ in PATH Updated CI workflow for LSP tests with to remove all g++/clang++ in PATH Oct 19, 2023
@lhstrh lhstrh enabled auto-merge October 19, 2023 21:09
@lhstrh lhstrh added this pull request to the merge queue Oct 20, 2023
Merged via the queue into lf-lang:master with commit 1bbc46b Oct 20, 2023
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants