11jobs :
2- - job : macOS
3- displayName : macos-latest
4- pool :
5- vmImage : ' macos-latest'
6- strategy :
7- matrix :
8- Python37 :
9- python.version : ' 3.7'
10- Python38 :
11- python.version : ' 3.8'
12- Python39 :
13- python.version : ' 3.9'
14- Python310 :
15- python.version : ' 3.10'
16-
17- steps :
18- - bash : echo "##vso[task.prependpath]$CONDA/bin"
19- displayName : Add conda to PATH
20-
21- - bash : sudo chown -R $USER $CONDA
22- displayName : Take ownership of conda installation
23-
24- - bash : |
25- conda config --add channels conda-forge
26- conda config --set always_yes yes
27- conda install -n root conda-build numpy fftw
28- displayName: Set up Anaconda
29-
30- - bash : |
31- conda build --python $PYTHON_VERSION ./conf
32- displayName: Build and test
2+ # - job: macOS
3+ # displayName: macos-latest
4+ # pool:
5+ # vmImage: 'macos-latest'
6+ # strategy:
7+ # matrix:
8+ # Python37:
9+ # python.version: '3.7'
10+ # Python38:
11+ # python.version: '3.8'
12+ # Python39:
13+ # python.version: '3.9'
14+ # Python310:
15+ # python.version: '3.10'
16+ #
17+ # steps:
18+ # - bash: echo "##vso[task.prependpath]$CONDA/bin"
19+ # displayName: Add conda to PATH
20+ #
21+ # - bash: sudo chown -R $USER $CONDA
22+ # displayName: Take ownership of conda installation
23+ #
24+ # - bash: |
25+ # conda config --add channels conda-forge
26+ # conda config --set always_yes yes
27+ # conda install -n root conda-build numpy fftw
28+ # displayName: Set up Anaconda
29+ #
30+ # - bash: |
31+ # conda build --python $PYTHON_VERSION ./conf
32+ # displayName: Build and test
3333
3434- job : Ubuntu
3535 displayName : Ubuntu
4545 python.version : ' 3.9'
4646 Python310 :
4747 python.version : ' 3.10'
48+ Python311 :
49+ python.version : ' 3.11'
4850
4951 steps :
5052 - bash : echo "##vso[task.prependpath]$CONDA/bin"
@@ -53,13 +55,16 @@ jobs:
5355 - bash : |
5456 conda config --add channels conda-forge
5557 conda config --set always_yes yes
56- conda install -n root conda-build numpy fftw
58+ conda install -n root mpi4py mpich numpy fftw
5759 displayName: Set up Anaconda
5860
5961 - bash : |
60- conda build --no-test --python $PYTHON_VERSION ./conf
61- conda create --name mpi4py_fft_env mpi4py_fft_test coverage scipy pyfftw=0.12 python=$PYTHON_VERSION --use-local
62+ conda create --name mpi4py_fft_env \
63+ python=$PYTHON_VERSION \
64+ numpy fftw mpi4py mpich \
65+ pyfftw=0.12 scipy coverage
6266 source activate mpi4py_fft_env
67+ pip install -vvv --no-deps .
6368 pip install codecov
6469 cd tests && ./runtests.sh
6570 displayName: Build and test
0 commit comments