|
6 | 6 | branches: master |
7 | 7 |
|
8 | 8 | jobs: |
9 | | - test: |
10 | | - strategy: |
11 | | - matrix: |
12 | | - platform: |
13 | | - - windows-latest |
14 | | - toolchain: |
15 | | - - stable |
16 | | - runs-on: ${{ matrix.platform }} |
| 9 | + test-x86_64-pc-windows-msvc: |
| 10 | + runs-on: windows-latest |
17 | 11 | steps: |
18 | 12 | - uses: actions/checkout@v2 |
19 | 13 | - uses: swatinem/rust-cache@v2 |
20 | 14 | - uses: dtolnay/rust-toolchain@stable |
21 | 15 | with: |
22 | | - toolchain: ${{ matrix.toolchain }} |
| 16 | + toolchain: stable |
23 | 17 | profile: minimal |
24 | 18 | override: true |
25 | 19 | targets: "wasm32-unknown-unknown" |
26 | | - - name: "Test on the native x86_64-pc-windows-mscv" |
| 20 | + - name: "Test on the native x86_64-pc-windows-msvc" |
27 | 21 | run: cargo test --all-features --workspace |
| 22 | + |
| 23 | + test-x86_64-pc-windows-gnu: |
| 24 | + runs-on: windows-latest |
| 25 | + steps: |
| 26 | + - uses: actions/checkout@v2 |
| 27 | + - uses: swatinem/rust-cache@v2 |
| 28 | + - uses: dtolnay/rust-toolchain@stable |
| 29 | + with: |
| 30 | + toolchain: stable |
| 31 | + profile: minimal |
| 32 | + override: true |
| 33 | + targets: "wasm32-unknown-unknown" |
28 | 34 | - name: "Test when cross-compiling to x86_64-pc-windows-gnu" |
29 | 35 | env: |
30 | 36 | AUDITABLE_TEST_TARGET: "x86_64-pc-windows-gnu" |
31 | 37 | run: cargo test --all-features --workspace |
| 38 | + |
| 39 | + test-i686-pc-windows-msvc: |
| 40 | + runs-on: windows-latest |
| 41 | + steps: |
| 42 | + - uses: actions/checkout@v2 |
| 43 | + - uses: swatinem/rust-cache@v2 |
| 44 | + - uses: dtolnay/rust-toolchain@stable |
| 45 | + with: |
| 46 | + toolchain: stable |
| 47 | + profile: minimal |
| 48 | + override: true |
| 49 | + targets: "wasm32-unknown-unknown,i686-pc-windows-msvc" |
| 50 | + - name: "Test when cross-compiling to i686-pc-windows-msvc" |
| 51 | + env: |
| 52 | + AUDITABLE_TEST_TARGET: "i686-pc-windows-msvc" |
| 53 | + run: cargo test --all-features --workspace |
0 commit comments