Skip to content

Commit

Permalink
tools added msys2.cmd helper script for GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Apr 13, 2024
1 parent 8e83ead commit 9937c2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/msys2.cmd
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 %*

0 comments on commit 9937c2c

Please sign in to comment.