File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 - name : Checkout
2222 uses : actions/checkout@v4
2323
24+ - name : Sync submodules to tracked branches
25+ run : |
26+ git submodule sync --recursive
27+ git submodule update --init --remote --recursive
28+
2429 - name : Setup Python
2530 id : setup-python
2631 uses : actions/setup-python@v5
3439 virtualenvs-create : true
3540 virtualenvs-in-project : true
3641
42+ - name : Clean up PATH on Windows
43+ if : runner.os == 'Windows'
44+ shell : pwsh
45+ run : |
46+ $clean = ($env:PATH -split ';' | Where-Object {
47+ $_ -notlike '*Git\usr\bin*' -and
48+ $_ -notlike '*Strawberry*'
49+ }) -join ';'
50+ echo "PATH=$clean" >> $env:GITHUB_ENV
51+
52+ - name : Set up MSVC dev cmd
53+ if : runner.os == 'Windows'
54+ uses : ilammy/msvc-dev-cmd@v1
55+ with :
56+ toolset : ' 14.29'
57+ arch : x64
58+
59+ - name : Remove Git link.exe from PATH
60+ if : runner.os == 'Windows'
61+ shell : pwsh
62+ run : |
63+ $gitLink = "C:\Program Files\Git\usr\bin\link.exe"
64+ if (Test-Path $gitLink) {
65+ Rename-Item $gitLink "link_gnu_backup.exe"
66+ Write-Host "Renamed Git link.exe -> link_gnu_backup.exe"
67+ } else {
68+ Write-Host "Git link.exe not found, nothing to do"
69+ }
70+
3771 - name : Cache pip wheels
3872 uses : actions/cache@v4
3973 with :
You can’t perform that action at this time.
0 commit comments