Skip to content

Commit 85c4b9b

Browse files
committed
CI: adjust cross_platform_tests, enable long paths on Windows
1 parent 5044245 commit 85c4b9b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
toolchain: [stable, beta, nightly]
4141
steps:
4242
- uses: actions/checkout@v4
43+
- name: Enable long paths on Windows
44+
if: runner.os == 'Windows'
45+
run: |
46+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
47+
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
48+
shell: pwsh
4349
- uses: hecrj/setup-rust-action@v2
4450
with:
4551
rust-version: ${{ matrix.toolchain }}

0 commit comments

Comments
 (0)