File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -304,3 +304,49 @@ jobs:
304
304
else \
305
305
exit 0; \
306
306
fi
307
+ build-and-check-windows :
308
+ runs-on : windows-latest
309
+ strategy :
310
+ matrix :
311
+ include :
312
+ - { sys: mingw64, env: x86_64 }
313
+ - { sys: mingw32, env: i686 }
314
+ name : ' Windows ${{ matrix.env }} ${{ matrix.sys }}'
315
+ defaults :
316
+ run :
317
+ shell : msys2 {0}
318
+ steps :
319
+ - uses : actions/checkout@v4
320
+
321
+ - name : ' ${{ matrix.sys }} Install deps'
322
+ uses : msys2/setup-msys2@v2
323
+ with :
324
+ msystem : ${{matrix.sys}}
325
+ update : true
326
+ install : >-
327
+ git
328
+ dejagnu
329
+ base-devel
330
+ pacboy : >-
331
+ toolchain:p
332
+ rust:p
333
+
334
+ - run : |
335
+ find . -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' '+'
336
+
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
+ - name : Build
346
+ run : |
347
+ make -C gccrs-build -j1 # $(nproc)
348
+
349
+ - name : Run Tests
350
+ run : |
351
+ cd gccrs-build; \
352
+ make check-rust
You can’t perform that action at this time.
0 commit comments