From 587ca7b537080552e7241c5d087e3c6f70fe895e Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Fri, 3 Apr 2026 18:54:34 +0200 Subject: [PATCH] workflows/build.yml: job MSVC fix Filename too long Git - Enabled long path support by setting the core.longpaths setting to true. Fix Cloning into 'esp-hal-3rdparty'... HEAD is now at 5d8324708f5 Enable using `esp_timer` on RISC-V devices error: unable to create file tf-psa-crypto/drivers/everest/include/tf-psa-crypto/private/everest/kremlib/FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.h: Filename too long fatal: Unable to checkout '582ff482038db6e4010dbf6f943d97b05ad06ea5' in submodule path 'components/mbedtls/mbedtls' error: unable to create file tf-psa-crypto/drivers/everest/include/tf-psa-crypto/private/everest/kremlib/FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.h: Filename too long fatal: Could not reset index file to revision 'HEAD'. Signed-off-by: simbit18 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db9ef1d36bd..177521caccc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -451,8 +451,6 @@ jobs: run: | pip install kconfiglib - - run: git config --global core.autocrlf false - - name: Download Source Artifact uses: actions/download-artifact@v8 with: @@ -467,6 +465,8 @@ jobs: - name: Run Builds run: | "ARTIFACTDIR=${{github.workspace}}\sources\buildartifacts" >> $env:GITHUB_ENV + git config --global core.autocrlf false + git config --global core.longpaths true git config --global --add safe.directory ${{github.workspace}}\sources\nuttx git config --global --add safe.directory ${{github.workspace}}\sources\apps cd sources\nuttx\tools\ci