|
36 | 36 | { os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" },
|
37 | 37 | { os: "macOS-13", python-architecture: "x64", rust-target: "x86_64-apple-darwin" },
|
38 | 38 | { os: "windows-latest", python-architecture: "x64", rust-target: "x86_64-pc-windows-msvc" },
|
39 |
| - { os: "windows-latest", python-architecture: "x86", rust-target: "i686-pc-windows-msvc" }, |
40 | 39 | ]
|
41 | 40 | include:
|
42 | 41 | # Older versions of CPython are not available for AArch64.
|
@@ -84,21 +83,29 @@ jobs:
|
84 | 83 | RUST_BACKTRACE: 1
|
85 | 84 |
|
86 | 85 | test-numpy1:
|
87 |
| - name: python${{ matrix.python-version }} numpy1 |
88 |
| - runs-on: ubuntu-latest |
| 86 | + name: python${{ matrix.python-version }}-${{ matrix.platform.python-architecture }} ${{ matrix.platform.os }} numpy1 |
| 87 | + runs-on: ${{ matrix.platform.os }} |
89 | 88 | needs: [lint, check-msrv, examples]
|
90 | 89 | strategy:
|
91 | 90 | fail-fast: ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
|
92 | 91 | matrix:
|
93 | 92 | python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
|
| 93 | + platform: [ |
| 94 | + { os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" }, |
| 95 | + { os: "macOS-13", python-architecture: "x64", rust-target: "x86_64-apple-darwin" }, |
| 96 | + { os: "windows-latest", python-architecture: "x64", rust-target: "x86_64-pc-windows-msvc" }, |
| 97 | + ] |
94 | 98 | steps:
|
95 | 99 | - uses: actions/checkout@v4
|
96 | 100 | - name: Set up Python ${{ matrix.python-version }}
|
97 | 101 | uses: actions/setup-python@v5
|
98 | 102 | with:
|
99 | 103 | python-version: ${{ matrix.python-version }}
|
| 104 | + architecture: ${{ matrix.platform.python-architecture }} |
100 | 105 | - name: Install Rust
|
101 | 106 | uses: dtolnay/rust-toolchain@stable
|
| 107 | + with: |
| 108 | + targets: ${{ matrix.platform.rust-target }} |
102 | 109 | - name: Install toml
|
103 | 110 | run: pip install toml
|
104 | 111 | - name: Edit Cargo.toml and enable new resolver
|
|
0 commit comments