Skip to content

Commit b4384ff

Browse files
committed
ci: Force-enable long path support on AppVeyor
This should be done automatically by micromamba, but there seems to be a bug with enabling it. mamba-org/mamba#4392
1 parent db57c5c commit b4384ff

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.appveyor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ cache:
4040
- '%USERPROFILE%\.cache\matplotlib'
4141

4242
init:
43+
# Force enable long path support, because micromamba isn't doing it correctly.
44+
# https://github.com/mamba-org/mamba/issues/4392
45+
- ps:
46+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem"
47+
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
4348
- ps:
4449
Invoke-Webrequest
4550
-URI https://micro.mamba.pm/api/micromamba/win-64/latest

0 commit comments

Comments
 (0)