From 529adc9c26eaf3dd4f94ed5ea6b06389dba8c1c3 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Mon, 13 Apr 2026 01:04:48 +0200 Subject: [PATCH] try to reduce the path length on windows ci --- .github/workflows/windows-build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 855752533..0b903833b 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -99,8 +99,16 @@ jobs: - name: Install nimble deps if: steps.cache-nimbledeps.outputs.cache-hit != 'true' + env: + # lsquic bundles BoringSSL as a submodule whose fuzz corpus has deeply-nested + # paths. With the default TEMP at D:\a\_temp\msys64\tmp the total path length + # exceeds Windows MAX_PATH (260 chars). Use a short TEMP so nimble's scratch + # directory stays within the limit. + TEMP: 'C:\t' + TMP: 'C:\t' run: | export PATH="$GITHUB_WORKSPACE/.nim_runtime/bin:$HOME/.nimble/bin:$PATH" + mkdir -p /c/t nimble setup --localdeps -y make rebuild-nat-libs-nimbledeps CC=gcc make rebuild-bearssl-nimbledeps CC=gcc