3
3
-->
4
4
<a title =" Join the chat at https://gitter.im/msys2/msys2 " href =" https://gitter.im/msys2/msys2 " ><img src =" https://img.shields.io/badge/chat-on%20gitter-4db797.svg?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef&label=Chat " ></a ><!--
5
5
-->
6
- <a title =" 'Test' workflow Status " href =" https://github.com/msys2/setup-msys2/actions/workflows/Test.yml " ><img alt =" 'Test' workflow Status " src =" https://img.shields.io/github/workflow/status/msys2/setup-msys2/Test/main? longCache=true&style=flat-square&label=Test&logo=github " ></a ><!--
6
+ <a title =" 'Test' workflow Status " href =" https://github.com/msys2/setup-msys2/actions/workflows/Test.yml " ><img alt =" 'Test' workflow Status " src =" https://img.shields.io/github/actions/ workflow/status/msys2/setup-msys2/Test.yml?branch=main& longCache=true&style=flat-square&label=Test&logo=github " ></a ><!--
7
7
-->
8
- <a title =" 'Example PKGBUILD' workflow Status " href =" https://github.com/msys2/setup-msys2/actions/workflows/Tool.yml " ><img alt =" 'Example PKGBUILD' workflow Status " src =" https://img.shields.io/github/workflow/status/msys2/setup-msys2/Tool/main? longCache=true&style=flat-square&label=Example%20PKGBUILD&logo=github " ></a ><!--
8
+ <a title =" 'Example PKGBUILD' workflow Status " href =" https://github.com/msys2/setup-msys2/actions/workflows/Tool.yml " ><img alt =" 'Example PKGBUILD' workflow Status " src =" https://img.shields.io/github/actions/ workflow/status/msys2/setup-msys2/Tool.yml?branch=main& longCache=true&style=flat-square&label=Example%20PKGBUILD&logo=github " ></a ><!--
9
9
-->
10
10
</p >
11
11
12
12
# Setup MSYS2
13
13
14
14
** setup-msys2** is a JavaScript GitHub Action (GHA) to setup an [ MSYS2] ( https://www.msys2.org/ ) environment (i.e. MSYS,
15
- MINGW32, MINGW64, UCRT64, CLANG32, and/or CLANG64 shells) using the GHA [ toolkit] ( https://github.com/actions/toolkit ) for
15
+ MINGW32, MINGW64, UCRT64, CLANG32, CLANG64 and/or CLANGARM64 shells) using the GHA [ toolkit] ( https://github.com/actions/toolkit ) for
16
16
automatic caching.
17
17
18
18
## Context
@@ -104,8 +104,8 @@ See, for instance:
104
104
include:
105
105
- { sys: mingw64, env: x86_64 }
106
106
- { sys: mingw32, env: i686 }
107
- - { sys: ucrt64, env: ucrt-x86_64 } # Experimental!
108
- - { sys: clang64, env: clang-x86_64 } # Experimental!
107
+ - { sys: ucrt64, env: ucrt-x86_64 }
108
+ - { sys: clang64, env: clang-x86_64 }
109
109
steps:
110
110
- uses: msys2/setup-msys2@v2
111
111
with:
@@ -121,8 +121,8 @@ Alternatively, option `pacboy` allows using a single matrix variable:
121
121
sys:
122
122
- mingw64
123
123
- mingw32
124
- - ucrt64 # Experimental!
125
- - clang64 # Experimental!
124
+ - ucrt64
125
+ - clang64
126
126
steps:
127
127
- uses: msys2/setup-msys2@v2
128
128
with:
@@ -153,13 +153,13 @@ Find further details at [#171](https://github.com/msys2/setup-msys2/issues/171#i
153
153
# ### msystem
154
154
155
155
By default, `MSYSTEM` is set to `MINGW64`. However, an optional parameter named `msystem` is supported, which expects
156
- ` MSYS` , `MINGW64`, `MINGW32`, `UCRT64`, `CLANG32` or `CLANG64 `.
156
+ ` MSYS` , `MINGW64`, `MINGW32`, `UCRT64`, `CLANG32`, `CLANG64` or `CLANGARM64`. MSYS2 recommends `UCRT64` nowadays as the default instead of `MINGW64 `.
157
157
For example :
158
158
159
159
` ` ` yaml
160
160
- uses: msys2/setup-msys2@v2
161
161
with:
162
- msystem: MSYS
162
+ msystem: UCRT64
163
163
` ` `
164
164
165
165
Furthermore, the environment variable can be overridden.
@@ -175,7 +175,7 @@ For example, in order to build a PKGBUILD file and then test the installed artif
175
175
makepkg-mingw -sCLfc --noconfirm --noprogressbar
176
176
pacman --noconfirm -U mingw-w64-*-any.pkg.tar.xz
177
177
- run: |
178
- set MSYSTEM=MINGW64
178
+ set MSYSTEM=UCRT64
179
179
msys2 -c '<command to test the package>'
180
180
` ` `
181
181
0 commit comments