@@ -151,7 +151,7 @@ jobs:
151151 retention-days : 5
152152
153153 build-conda :
154- name : Build conda, ${{ matrix.os }}
154+ name : Build conda, ${{ matrix.os }} ${{ matrix.python }}
155155 runs-on : ${{ matrix.os }}-latest
156156 needs : build-sdist
157157 strategy :
@@ -162,8 +162,7 @@ jobs:
162162 - ' macos'
163163 - ' windows'
164164 python :
165- # this is not the packaged version, just the version conda-build runs on.
166- - ' 3.11'
165+ - ' 3.13'
167166
168167 steps :
169168 - name : Checkout Slycot
@@ -174,33 +173,33 @@ jobs:
174173 - name : Setup Conda
175174 uses : conda-incubator/setup-miniconda@v3
176175 with :
176+ auto-update-conda : true
177177 python-version : ${{ matrix.python }}
178178 activate-environment : build-env
179- environment-file : .github/conda-env/build-env.yml
180179 miniforge-version : latest
180+ conda-build-version : 25.7.0
181181 channel-priority : strict
182- channels : conda-forge,defaults
183- auto-update-conda : false
184- auto-activate-base : false
185182 - name : Conda build
186183 shell : bash -el {0}
187184 run : |
188185 set -e
189- conda build conda-recipe
186+ conda build conda-recipe --python ${{ matrix.python }}
190187 # preserve directory structure for custom conda channel
191- find "${CONDA_PREFIX}/conda-bld" -maxdepth 2 -name 'slycot*.tar.bz2' | while read -r conda_pkg; do
188+ CONDA_ROOT=$(conda info --base)
189+ find "${CONDA_ROOT}/conda-bld" -maxdepth 2 -name 'slycot*.conda' | while read -r conda_pkg; do
192190 conda_platform=$(basename $(dirname "${conda_pkg}"))
193191 mkdir -p "slycot-conda-pkgs/${conda_platform}"
194192 cp "${conda_pkg}" "slycot-conda-pkgs/${conda_platform}/"
195193 done
196- python -m conda_index ./slycot-conda-pkgs
194+ conda index ./slycot-conda-pkgs
197195 - name : Save to local conda pkg channel
198196 uses : actions/upload-artifact@v4
199197 with :
200198 name : slycot-conda-pkgs-${{ matrix.os }}-${{ matrix.python }}
201199 path : slycot-conda-pkgs
202200 retention-days : 5
203201
202+
204203 create-wheel-test-matrix :
205204 name : Create wheel test matrix
206205 runs-on : ubuntu-latest
@@ -404,6 +403,7 @@ jobs:
404403 parallel : true
405404 file : slycot-src/coverage.xml
406405
406+
407407 coveralls-final :
408408 name : Finalize parallel coveralls
409409 if : always()
0 commit comments