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.
diff --git a/.github/workflows/kernel-demos.yml b/.github/workflows/kernel-demos.yml index 9371e9c..e120ace 100644 --- a/.github/workflows/kernel-demos.yml +++ b/.github/workflows/kernel-demos.yml
@@ -13,6 +13,10 @@ name: WIN32 MSVC runs-on: windows-latest steps: + - name: Enable long paths on Windows + if: runner.os == 'Windows' + run: git config --system core.longpaths true + - name: Checkout the FreeRTOS/FreeRTOS Repository uses: actions/checkout@v4.1.1 with: @@ -42,6 +46,10 @@ name: WIN32 MingW runs-on: windows-latest steps: + - name: Enable long paths on Windows + if: runner.os == 'Windows' + run: git config --system core.longpaths true + - name: Checkout the FreeRTOS/FreeRTOS Repository uses: actions/checkout@v4.1.1 with: