Skip to content

Commit eadc802

Browse files
committed
switch to using MSYS2 for Windows compilation
1 parent 59ef993 commit eadc802

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,18 @@ jobs:
136136
- uses: actions/checkout@v4
137137
with:
138138
submodules: true
139+
- name: Set up MSYS2
140+
uses: msys2/setup-msys2@v2
141+
# with:
142+
# msystem: ${{ matrix.platform.msystem }}
143+
# install: >-
144+
# SDL2
145+
# autotools
146+
# cmake
147+
# gcc
148+
# ninja
149+
# pkg-config
150+
139151
- name: Setup build environment
140152
uses: ./.github/actions/setup-build
141153

@@ -171,8 +183,9 @@ jobs:
171183
# ls dockcross-*
172184

173185
- name: Build and Test ${{ env.PACKAGE_NAME }}
186+
shell: msys2 {0}
174187
run: |
175-
./gradlew.bat build `-Paws.sdk.kotlin.crt.disableCrossCompile=mingw_x64
188+
./gradlew build -Paws.sdk.kotlin.crt.disableCrossCompile=mingw_x64
176189
- name: Save Test Reports
177190
if: failure()
178191
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)