Skip to content

Commit 587fe6d

Browse files
kstribrnAmznAniruddhaKanhere
authored andcommitted
Fix long path errors on Windows demos
Both the WIN32-MSVC and WIN32-MingW demos are failing due to long file paths. This is because of a transitive dependency path which is submodules further extending the path length. Enabling windows long path support fixes this.
1 parent 5f2cc25 commit 587fe6d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/kernel-demos.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
name: WIN32 MSVC
1414
runs-on: windows-latest
1515
steps:
16+
- name: Enable long paths on Windows
17+
if: runner.os == 'Windows'
18+
run: git config --system core.longpaths true
19+
1620
- name: Checkout the FreeRTOS/FreeRTOS Repository
1721
uses: actions/checkout@v4.1.1
1822
with:
@@ -42,6 +46,10 @@ jobs:
4246
name: WIN32 MingW
4347
runs-on: windows-latest
4448
steps:
49+
- name: Enable long paths on Windows
50+
if: runner.os == 'Windows'
51+
run: git config --system core.longpaths true
52+
4553
- name: Checkout the FreeRTOS/FreeRTOS Repository
4654
uses: actions/checkout@v4.1.1
4755
with:

0 commit comments

Comments
 (0)