2222 strategy :
2323 fail-fast : false
2424 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+
2729 steps :
2830 - name : Checkout
2931 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -34,11 +36,11 @@ jobs:
3436 - name : Setup Python
3537 uses : quansight-labs/setup-python@b9ab292c751a42bcd2bb465b7fa202ea2c3f5796 # v5.3.1
3638 with :
37- python-version : ${{ matrix.version }}
39+ python-version : ${{ matrix.compiler-pyversion[1] }}
3840
3941 # TODO: remove cython nightly install when cython does a release
4042 - name : Install nightly Cython
41- if : matrix.version == '3.13t'
43+ if : matrix.compiler-pyversion[1] == '3.13t'
4244 run : |
4345 pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
4446
@@ -50,24 +52,24 @@ jobs:
5052 run : |
5153 choco install -y --stoponfirstfailure --checksum 6004DF17818F5A6DBF19CB335CC92702 pkgconfiglite
5254 echo "PKG_CONFIG_PATH=${{ github.workspace }}/.openblas" >> $env:GITHUB_ENV
53-
55+
5456
5557 - name : Install Clang-cl
56- if : matrix.compiler == 'Clang-cl'
58+ if : matrix.compiler-pyversion[0] == 'Clang-cl'
5759 run : |
5860 # llvm is preinstalled, but leave
5961 # this here in case we need to pin the
6062 # version at some point.
6163 #choco install llvm -y
6264
6365 - name : Install NumPy (MSVC)
64- if : matrix.compiler == 'MSVC'
66+ if : matrix.compiler-pyversion[0] == 'MSVC'
6567 run : |
6668 pip install -r requirements/ci_requirements.txt
6769 spin build --with-scipy-openblas=32 -j2 -- --vsenv
6870
6971 - name : Install NumPy (Clang-cl)
70- if : matrix.compiler == 'Clang-cl'
72+ if : matrix.compiler-pyversion[0] == 'Clang-cl'
7173 run : |
7274 "[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
7375 pip install -r requirements/ci_requirements.txt
0 commit comments