Add script to run full profile checks locally (#15496)

* Run the CI profile checks locally
This commit is contained in:
SoftFever
2026-09-02 15:22:55 +08:00
committed by GitHub
parent b6ef6cf1be
commit e523acc164
4 changed files with 1098 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
@echo off
REM Runs check_profile.ps1, the Windows twin of check_profile.sh, from cmd.
REM -ExecutionPolicy Bypass is needed because a Windows client defaults to Restricted,
REM which refuses to run a checked-out .ps1 at all.
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0check_profile.ps1" %*
exit /b %ERRORLEVEL%