restore tools/legacy build scripts and fix CI workflow

This commit is contained in:
2026-04-29 21:42:26 +02:00
parent 52513bb1c9
commit 3298293474
8 changed files with 4420 additions and 2 deletions
+11
View File
@@ -8,6 +8,13 @@ from __future__ import annotations
import argparse, subprocess, sys
from pathlib import Path
class Colors:
CYAN = "\033[36m"; GREEN = "\033[32m"; YELLOW = "\033[33m"
RED = "\033[31m"; GRAY = "\033[90m"; RESET = "\033[0m"
BOLD = "\033[1m"; BRIGHT_CYAN = "\033[96m"
ROOT = Path(__file__).resolve().parent
SCRIPTS = {
"19.00": {"2022": "tools/legacy/build_plugin_vs2022.py",
@@ -34,6 +41,10 @@ def main() -> int:
print((ROOT / "VERSION").read_text(encoding="utf-8-sig").strip())
return 0
ver = (ROOT / "VERSION").read_text(encoding="utf-8-sig").strip()
print(f"{Colors.BOLD}{Colors.BRIGHT_CYAN}=== Building ns7zip v{ver} "
f"(7z {known.zip_version}) ==={Colors.RESET}")
toolset = known.toolset
if toolset == "auto":
toolset = "2026"