File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -186,11 +186,14 @@ jobs:
186
186
run : |
187
187
./aws-crt-kotlin/docker-images/build-images.sh linux-x64 linux-arm64
188
188
189
- - name : Configure Windows CRT Docker Images
190
- shell : bash
189
+ - name : Set up MSYS2
191
190
if : ${{ matrix.os == 'windows-latest' }}
192
- run : |
193
- ./aws-crt-kotlin/docker-images/build-images.sh mingw-x64
191
+ uses : msys2/setup-msys2@v2
192
+ with :
193
+ msystem : MINGW64
194
+ install : >-
195
+ mingw-w64-x86_64-cmake
196
+ mingw-w64-x86_64-gcc
194
197
195
198
- name : Sanity checks
196
199
shell : bash
@@ -213,12 +216,23 @@ jobs:
213
216
done
214
217
215
218
- name : Test
219
+ if : ${{ matrix.os != 'windows-latest' }}
216
220
working-directory : ./smithy-kotlin
217
221
shell : bash
218
222
run : |
219
223
# FIXME K2. Re-enable warnings as errors after this warning is removed: https://youtrack.jetbrains.com/issue/KT-68532
220
224
# echo "kotlinWarningsAsErrors=true" >> $GITHUB_WORKSPACE/local.properties
221
225
./gradlew build
226
+
227
+ - name : Test on Windows
228
+ if : ${{ matrix.os == 'windows-latest' }}
229
+ working-directory : ./smithy-kotlin
230
+ shell : msys2 {0}
231
+ run : |
232
+ # FIXME K2. Re-enable warnings as errors after this warning is removed: https://youtrack.jetbrains.com/issue/KT-68532
233
+ # echo "kotlinWarningsAsErrors=true" >> $GITHUB_WORKSPACE/local.properties
234
+ ./gradlew build -Paws.crt.disableContainerTargets=mingw_x64
235
+
222
236
- name : Save Test Reports
223
237
if : failure()
224
238
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments