Validate all nine RIDs and NuGet with persistent Woodpecker caches
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
geruipu committed 2026-10-05 17:52:09 +08:00
1 parent 1f23aff5e2
commit 6e5cd77713
4 files changed
+108 -16

No files matched your search

+4 -1
View File
@@ -173,7 +173,10 @@ def execute(config, tool, incoming):
inputs.append(flag)
if not output:
raise SystemExit("Darwin libtool adapter needs -o")
command = [config["zig"], "ar", "--format=darwin", "rcs", output, *inputs]
libtool = shutil.which('llvm-libtool-darwin') or shutil.which('llvm-libtool-darwin-16')
if not libtool:
raise SystemExit('The pinned image must provide llvm-libtool-darwin to flatten archive dependencies')
command = [libtool, '-static', '-o', output, *inputs]
if tool in ('ar', 'libtool'):
# Never leave a truncated archive behind when disk/network/job failures
# interrupt archiving. GN response files contain a complete member list.