Skip to content

Commit e664331

Browse files
committed
check windows long paths enabled
1 parent 8e21787 commit e664331

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/push.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ jobs:
7373
${{ needs.install-cargo-gpu.outputs.cachepath-Windows }}
7474
key: rust-gpu-cache-0-${{ runner.os }}
7575
- uses: moonrepo/setup-rust@v1
76+
- name: Check LongPathsEnabled
77+
if: runner.os == 'Windows'
78+
run: |
79+
(Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
80+
- name: Set git core.longpaths flag
81+
if: runner.os == 'Windows'
82+
run: |
83+
git config --system core.longpaths true
7684
- run: cargo gpu show commitsh
7785
- run: rm -rf crates/renderling/src/linkage/* crates/renderling/shaders
7886
- run: cargo xtask compile-shaders

0 commit comments

Comments
 (0)