|
22 | 22 | strategy: |
23 | 23 | fail-fast: false |
24 | 24 | matrix: |
25 | | - compiler: ["MSVC", "Clang-cl"] |
26 | | - version: ["3.11", "3.13t"] |
| 25 | + compiler-pyversion: |
| 26 | + - ["MSVC", "3.11"] |
| 27 | + - ["Clang-cl", "3.13t"] |
| 28 | + |
27 | 29 | steps: |
28 | 30 | - name: Checkout |
29 | 31 | uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 |
@@ -34,11 +36,11 @@ jobs: |
34 | 36 | - name: Setup Python |
35 | 37 | uses: quansight-labs/setup-python@b9ab292c751a42bcd2bb465b7fa202ea2c3f5796 # v5.3.1 |
36 | 38 | with: |
37 | | - python-version: ${{ matrix.version }} |
| 39 | + python-version: ${{ matrix.compiler-pyversion[1] }} |
38 | 40 |
|
39 | 41 | # TODO: remove cython nightly install when cython does a release |
40 | 42 | - name: Install nightly Cython |
41 | | - if: matrix.version == '3.13t' |
| 43 | + if: matrix.compiler-pyversion[1] == '3.13t' |
42 | 44 | run: | |
43 | 45 | pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython |
44 | 46 |
|
@@ -50,24 +52,24 @@ jobs: |
50 | 52 | run: | |
51 | 53 | choco install -y --stoponfirstfailure --checksum 6004DF17818F5A6DBF19CB335CC92702 pkgconfiglite |
52 | 54 | echo "PKG_CONFIG_PATH=${{ github.workspace }}/.openblas" >> $env:GITHUB_ENV |
53 | | - |
| 55 | +
|
54 | 56 |
|
55 | 57 | - name: Install Clang-cl |
56 | | - if: matrix.compiler == 'Clang-cl' |
| 58 | + if: matrix.compiler-pyversion[0] == 'Clang-cl' |
57 | 59 | run: | |
58 | 60 | # llvm is preinstalled, but leave |
59 | 61 | # this here in case we need to pin the |
60 | 62 | # version at some point. |
61 | 63 | #choco install llvm -y |
62 | 64 |
|
63 | 65 | - name: Install NumPy (MSVC) |
64 | | - if: matrix.compiler == 'MSVC' |
| 66 | + if: matrix.compiler-pyversion[0] == 'MSVC' |
65 | 67 | run: | |
66 | 68 | pip install -r requirements/ci_requirements.txt |
67 | 69 | spin build --with-scipy-openblas=32 -j2 -- --vsenv |
68 | 70 |
|
69 | 71 | - name: Install NumPy (Clang-cl) |
70 | | - if: matrix.compiler == 'Clang-cl' |
| 72 | + if: matrix.compiler-pyversion[0] == 'Clang-cl' |
71 | 73 | run: | |
72 | 74 | "[binaries]","c = 'clang-cl'","cpp = 'clang-cl'","ar = 'llvm-lib'","c_ld = 'lld-link'","cpp_ld = 'lld-link'" | Out-File $PWD/clang-cl-build.ini -Encoding ascii |
73 | 75 | pip install -r requirements/ci_requirements.txt |
|