glfw: clone with -c core.longpaths=true for Windows
Yes, even in 2022 we're still dealing with Windows filepaths being too long. The repository can't clone on GitHub actions Windows CI runner, currently, because of this issue. https://stackoverflow.com/a/22575737 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b5a9acc879
commit
057937a066
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ fn determineSdkRoot(allocator: std.mem.Allocator, org: []const u8, name: []const
|
|||
var repo_url_fbs = std.io.fixedBufferStream(&buf);
|
||||
try std.fmt.format(repo_url_fbs.writer(), "https://github.com/{s}/{s}", .{ org, name });
|
||||
|
||||
try exec(allocator, &[_][]const u8{ "git", "clone", repo_url_fbs.getWritten() }, sdk_path_dir);
|
||||
try exec(allocator, &[_][]const u8{ "git", "clone", "-c", "core.longpaths=true", repo_url_fbs.getWritten() }, sdk_path_dir);
|
||||
return sdk_root_dir;
|
||||
},
|
||||
else => err,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue