@@ -31,21 +31,38 @@ jobs:
3131 - build : win64
3232 os : windows-latest
3333 rust : stable
34+ - build : anaconda win64
35+ os : windows-latest
36+ rust : stable
3437 steps :
3538 - uses : actions/checkout@master
3639 - uses : actions/setup-python@v6
3740 with :
38- python-version : ' 3.12 '
41+ python-version : ' 3.14 '
3942 if : ${{ ! startsWith(matrix.build, 'anaconda') }}
4043 - name : Install Matplotlib (pip)
4144 run : python3 -m pip install -U matplotlib
4245 if : ${{ ! startsWith(matrix.build, 'anaconda') }}
4346 - name : Setup Miniconda
47+ if : startsWith(matrix.build, 'anaconda')
4448 uses : conda-incubator/setup-miniconda@v3
45- if : startsWith(matrix.build, 'anaconda macos')
49+ with :
50+ auto-update-conda : true
4651 - name : Install Matplotlib (Anaconda)
47- run : $CONDA/bin/conda install conda-forge::matplotlib
48- if : startsWith(matrix.build, 'anaconda')
52+ if : ${{ matrix.os != 'windows-latest' && startsWith(matrix.build, 'anaconda') }}
53+ shell : bash
54+ run : conda install -y -c conda-forge matplotlib
55+ - name : Install Matplotlib (Anaconda, Windows)
56+ if : ${{ matrix.os == 'windows-latest' && startsWith(matrix.build, 'anaconda') }}
57+ shell : pwsh
58+ run : conda install -y -c conda-forge matplotlib
59+ - name : Diagnose Python used (Windows)
60+ if : ${{ matrix.os == 'windows-latest' }}
61+ shell : pwsh
62+ run : |
63+ python -c "import sys, platform; print(sys.executable); print(sys.version); print(platform.platform())"
64+ python -c "import numpy, matplotlib; print('numpy', numpy.__version__); print('matplotlib', matplotlib.__version__)"
65+
4966 - name : Install Rust ${{ matrix.rust }}
5067 uses : dtolnay/rust-toolchain@stable
5168 with :
0 commit comments