Skip to content

Commit

Permalink
Merge pull request #2068 from axmmisaka/lsp-ci-remove-g++-on-windows-fix
Browse files Browse the repository at this point in the history
Updated CI workflow for LSP tests with to remove all g++/clang++ in `PATH`
  • Loading branch information
lhstrh committed Oct 20, 2023
2 parents 7af2e84 + df91be0 commit 1bbc46b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lsp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
run: brew uninstall --ignore-dependencies gcc
if: ${{ runner.os == 'macOS' }}
- name: Uninstall packages Windows
shell: pwsh
run: |
del "C:\ProgramData\Chocolatey\bin\g++.exe"
del "C:\Strawberry\c\bin\g++.exe"
del "C:\Program Files\LLVM\bin\clang++.exe"
try { $exes=Get-Command "g++" -All; $exes | Remove-Item; } catch { "There is no g++ present in pwsh PATH." }
try { $exes=Get-Command "clang++" -All; $exes | Remove-Item; } catch { "There is no clang++ present in pwsh PATH." }
if: ${{ runner.os == 'Windows' }}
- name: Setup Node.js environment
uses: actions/setup-node@v3
Expand Down

0 comments on commit 1bbc46b

Please sign in to comment.