Skip to content

Commit d6abbad

Browse files
authored
Fix CI for R workflow by enabling long path support (#2)
* Enable long path support * Remove gpu workflow * Fix * Revert "Remove gpu workflow" This reverts commit 83e62d0. * Try to fix CI
1 parent b06b173 commit d6abbad

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/r.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ jobs:
8383
rustup toolchain install stable-x86_64-pc-windows-gnu --no-self-update
8484
rustup default stable-x86_64-pc-windows-gnu
8585
86+
- name: Enable Long Paths support (Windows)
87+
if: matrix.config.os == 'windows-latest'
88+
shell: pwsh
89+
run: |
90+
git config --system core.longpaths true
91+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
92+
8693
- name: Install dependencies (Linux)
8794
if: matrix.config.os == 'ubuntu-latest'
8895
run: sudo apt-get update && sudo apt-get install -y libgeos-dev

0 commit comments

Comments
 (0)