File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -301,3 +301,53 @@ jobs:
301
301
else \
302
302
exit 0; \
303
303
fi
304
+ build-and-check-windows :
305
+ runs-on : windows-latest
306
+ strategy :
307
+ matrix :
308
+ include :
309
+ - { sys: mingw64, env: x86_64 }
310
+ - { sys: mingw32, env: i686 }
311
+ name : ' Windows ${{ matrix.env }} ${{ matrix.sys }}'
312
+ defaults :
313
+ run :
314
+ shell : msys2 {0}
315
+ steps :
316
+ - uses : actions/checkout@v3
317
+
318
+ - name : ' ${{ matrix.sys }} Install deps'
319
+ uses : msys2/setup-msys2@v2
320
+ with :
321
+ msystem : ${{matrix.sys}}
322
+ update : true
323
+ install : >-
324
+ git
325
+ make
326
+ dejagnu
327
+ mpc
328
+ mpfr
329
+ gmp
330
+ curl
331
+ pacboy : >-
332
+ toolchain:p
333
+ rust:p
334
+
335
+ - name : Make Source Read-Only
336
+ run : chmod -R a-w *
337
+
338
+ - name : Configure
339
+ run : |
340
+ mkdir -p gccrs-build;
341
+ cd gccrs-build;
342
+ ../configure \
343
+ --enable-languages=rust \
344
+ --disable-bootstrap \
345
+ --enable-multilib
346
+ - name : Build
347
+ run : |
348
+ make -C gccrs-build -j $(nproc)
349
+
350
+ - name : Run Tests
351
+ run : |
352
+ cd gccrs-build; \
353
+ make check-rust
You can’t perform that action at this time.
0 commit comments