-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools added msys2.cmd helper script for GH Actions
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@echo off | ||
setlocal | ||
|
||
rem This is a helper script for GitHub self-hosted runner to avoid using msys2_shell.cmd, | ||
rem msys2_shell.cmd is more complex and supports more features, but is also slower, | ||
rem this script is the exact opposite, it only contains what we need. | ||
|
||
IF NOT DEFINED MSYSTEM set MSYSTEM=UCRT64 | ||
IF NOT DEFINED MSYS2_PATH_TYPE set MSYS2_PATH_TYPE=minimal | ||
set CHERE_INVOKING=1 | ||
|
||
"%MSYS2_ROOT%\usr\bin\bash.exe" -leo pipefail %* |