|
65 | 65 | - name: x86_64-gnu-tools |
66 | 66 | os: ubuntu-20.04-16core-64gb |
67 | 67 | env: {} |
| 68 | + defaults: |
| 69 | + run: |
| 70 | + shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}" |
68 | 71 | timeout-minutes: 600 |
69 | 72 | runs-on: "${{ matrix.os }}" |
70 | 73 | steps: |
| 74 | + - if: "contains(matrix.os, 'windows')" |
| 75 | + uses: msys2/setup-msys2@v2.22.0 |
| 76 | + with: |
| 77 | + msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}" |
| 78 | + update: false |
| 79 | + release: true |
| 80 | + path-type: inherit |
| 81 | + install: "make dos2unix diffutils\n" |
71 | 82 | - name: disable git crlf conversion |
72 | 83 | run: git config --global core.autocrlf false |
73 | 84 | - name: checkout the source code |
@@ -459,9 +470,20 @@ jobs: |
459 | 470 | RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-extended --enable-profiler" |
460 | 471 | SCRIPT: python x.py dist bootstrap --include-default-paths |
461 | 472 | os: windows-2019-8core-32gb |
| 473 | + defaults: |
| 474 | + run: |
| 475 | + shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}" |
462 | 476 | timeout-minutes: 600 |
463 | 477 | runs-on: "${{ matrix.os }}" |
464 | 478 | steps: |
| 479 | + - if: "contains(matrix.os, 'windows')" |
| 480 | + uses: msys2/setup-msys2@v2.22.0 |
| 481 | + with: |
| 482 | + msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}" |
| 483 | + update: false |
| 484 | + release: true |
| 485 | + path-type: inherit |
| 486 | + install: "make dos2unix diffutils\n" |
465 | 487 | - name: disable git crlf conversion |
466 | 488 | run: git config --global core.autocrlf false |
467 | 489 | - name: checkout the source code |
@@ -587,9 +609,20 @@ jobs: |
587 | 609 | env: |
588 | 610 | CODEGEN_BACKENDS: "llvm,cranelift" |
589 | 611 | os: ubuntu-20.04-16core-64gb |
| 612 | + defaults: |
| 613 | + run: |
| 614 | + shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}" |
590 | 615 | timeout-minutes: 600 |
591 | 616 | runs-on: "${{ matrix.os }}" |
592 | 617 | steps: |
| 618 | + - if: "contains(matrix.os, 'windows')" |
| 619 | + uses: msys2/setup-msys2@v2.22.0 |
| 620 | + with: |
| 621 | + msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}" |
| 622 | + update: false |
| 623 | + release: true |
| 624 | + path-type: inherit |
| 625 | + install: "make dos2unix diffutils\n" |
593 | 626 | - name: disable git crlf conversion |
594 | 627 | run: git config --global core.autocrlf false |
595 | 628 | - name: checkout the source code |
|
0 commit comments