mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-15 21:32:32 -05:00
feat: add --check-buildbot pipeline step
This commit is contained in:
@@ -143,6 +143,8 @@ def main():
|
|||||||
parser.add_argument("--include-extras", action="store_true",
|
parser.add_argument("--include-extras", action="store_true",
|
||||||
help="(no-op) Core requirements are always included")
|
help="(no-op) Core requirements are always included")
|
||||||
parser.add_argument("--target", "-t", help="Hardware target (e.g., switch, rpi4)")
|
parser.add_argument("--target", "-t", help="Hardware target (e.g., switch, rpi4)")
|
||||||
|
parser.add_argument("--check-buildbot", action="store_true",
|
||||||
|
help="Check buildbot system directory for changes")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
results = {}
|
results = {}
|
||||||
@@ -171,6 +173,16 @@ def main():
|
|||||||
print("\n--- 2/9 refresh data directories: SKIPPED (--offline) ---")
|
print("\n--- 2/9 refresh data directories: SKIPPED (--offline) ---")
|
||||||
results["refresh_data"] = True
|
results["refresh_data"] = True
|
||||||
|
|
||||||
|
# Step 2b: Check buildbot system directory (non-blocking)
|
||||||
|
if args.check_buildbot and not args.offline:
|
||||||
|
ok, _ = run(
|
||||||
|
[sys.executable, "scripts/check_buildbot_system.py"],
|
||||||
|
"2b check buildbot system",
|
||||||
|
)
|
||||||
|
results["check_buildbot"] = ok
|
||||||
|
elif args.check_buildbot:
|
||||||
|
print("\n--- 2b check buildbot system: SKIPPED (--offline) ---")
|
||||||
|
|
||||||
# Step 3: Verify
|
# Step 3: Verify
|
||||||
verify_cmd = [sys.executable, "scripts/verify.py", "--all"]
|
verify_cmd = [sys.executable, "scripts/verify.py", "--all"]
|
||||||
if args.include_archived:
|
if args.include_archived:
|
||||||
|
|||||||
Reference in New Issue
Block a user