Skip to content

Commit 877e019

Browse files
committed
manual-test: install MSYS2 on Windows/ARM64
The Windows/ARM64 runners that are currently in public preview do not have MSYS2 installed by default, so let's do that. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 64389e6 commit 877e019

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/manual-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ jobs:
4545
if: ${{ inputs.container-runs-on == '(none)' }}
4646
runs-on: ${{ inputs.runs-on }}
4747
steps:
48+
- uses: msys2/setup-msys2@v2
49+
# The public preview of GitHub-hosted Windows/ARM64 runners lacks
50+
# a working MSYS2 installation, so we need to set it up ourselves.
51+
if: ${{ inputs.runs-on == 'windows-11-arm' }}
52+
with:
53+
msystem: 'CLANGARM64'
54+
# We cannot use `C:\` because `msys2/setup-msys2` erroneously
55+
# believes that an MSYS2 exists at `C:\msys64`, but it doesn't,
56+
# which is the entire reason why we need to set it up in this
57+
# here step... However, by using `C:\.\` we can fool that
58+
# overzealous check.
59+
location: C:\.\
4860
- uses: actions/checkout@v4
4961
- uses: ./
5062
with:

0 commit comments

Comments
 (0)