mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-05-18 07:59:54 +00:00
enforce a short temp file on windows ci
This commit is contained in:
parent
e9a42ae74e
commit
e0d9d9484a
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -112,6 +112,18 @@ jobs:
|
||||
with:
|
||||
nim-version: '2.2.4'
|
||||
|
||||
# nim-lsquic (transitive dep via libp2p) contains boringssl submodule with
|
||||
# deeply-nested test paths. Nimble's temp dir path + those file names exceed
|
||||
# 260 chars even with core.longpaths=true because Nim's runtime doesn't use
|
||||
# the \\?\ extended-path prefix. Redirect TEMP/TMP to a short root dir so
|
||||
# nimble's working directory stays well under the limit.
|
||||
- name: Shorten TEMP path for nimble
|
||||
shell: pwsh
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force -Path C:\T | Out-Null
|
||||
"TEMP=C:\T" >> $env:GITHUB_ENV
|
||||
"TMP=C:\T" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Install dependencies
|
||||
run: nimble setup -l
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user