try to reduce the path length on windows ci

This commit is contained in:
Ivan FB 2026-04-13 01:04:48 +02:00
parent e6082067cd
commit 529adc9c26
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -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