@@ -22,28 +22,24 @@ jobs:
2222 strategy :
2323 fail-fast : False
2424 matrix :
25- os : [ubuntu-latest, macos-latest , windows-latest]
26- python-version : ["3.8", "3.9", "3. 10", "3.11", "3.12"]
27- mkl-version : ['2023'] # currently 2024 fails building for some reason...
25+ os : [ubuntu-latest, macos-12 , windows-latest]
26+ python-version : ["3.10", "3.11", "3.12"]
27+ mkl-version : ['2023', ' 2024']
2828 include :
2929 - os : ubuntu-latest
3030 python-version : " 3.12"
3131 coverage : ${{ true }}
32- - os : ubuntu-latest
33- python-version : " 3.12"
34- mkl-version : ' 2024'
35- - os : windows-latest
36- python-version : " 3.12"
37- mkl-version : ' 2024'
32+ exclude :
33+ - os : macos-12
34+ mkl-version : " 2024"
3835
3936 steps :
4037 - uses : actions/checkout@v4
4138 - name : Setup Conda
4239 uses : conda-incubator/setup-miniconda@v3
4340 with :
4441 python-version : ${{ matrix.python-version }}
45- mamba-version : ' *'
46- channels : conda-forge, defaults
42+ channels : defaults
4743 channel-priority : true
4844 activate-environment : dev
4945
@@ -55,22 +51,25 @@ jobs:
5551
5652 - name : Create environment
5753 run : |
58- mamba install --quiet --yes pip numpy scipy cython mkl=${{ matrix.mkl-version }} pytest \
54+ conda install --quiet --yes -c conda-forge \
55+ pip numpy scipy cython mkl=${{ matrix.mkl-version }} pytest \
5956 mkl-devel pkg-config meson-python meson ninja setuptools_scm \
60- ${{ matrix.coverage && 'coverage' || ''}}
57+ ${{ matrix.coverage && 'coverage' || ''}} \
58+ ${{ matrix.os == 'windows-latest' && '"libblas=*=*mkl"' || ''}}
6159
6260 - name : Install Our Package
6361 run : |
6462 python -m pip install --no-build-isolation --verbose --editable . \
6563 --config-setting=compile-args=-v \
66- ${{ matrix.coverage && '--config-settings=setup-args="-Dcy_coverage=true"' || ''}}
64+ ${{ matrix.coverage && '--config-settings=setup-args="-Db_coverage=true"' || ''}} \
65+ ${{ matrix.os == 'windows-latest' && '--config-settings=setup-args="-Dvsenv=true"' || ''}}
66+
6767 conda list
6868
6969 - name : Run Tests
7070 run : |
7171 ${{ matrix.coverage && 'coverage run -m' || '' }} pytest -s -v
7272 ${{ matrix.coverage && 'coverage xml' || '' }}
73- continue-on-error : ${{ matrix.os == 'windows-latest' && matrix.mkl-version == '2024'}}
7473
7574 - name : Upload coverage
7675 if : ${{ matrix.coverage }}
9392 - name : Setup Conda
9493 uses : conda-incubator/setup-miniconda@v3
9594 with :
96- python-version : 3.11
97- mamba-version : ' *'
98- channels : conda-forge, defaults
95+ python-version : " 3.11"
96+ channels : defaults
9997 channel-priority : true
10098 activate-environment : dev
10199
@@ -107,7 +105,7 @@ jobs:
107105
108106 - name : Create environment
109107 run : |
110- mamba install --quiet --yes pip numpy scipy cython mkl=2023 \
108+ conda install --quiet --yes pip numpy scipy cython mkl=2023 \
111109 mkl-devel pkg-config meson-python meson ninja setuptools_scm \
112110 python-build
113111
0 commit comments