forked from mpi4py/mpi4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
59 lines (49 loc) · 1.66 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# https://ci.appveyor.com/project/mpi4py/mpi4py
image: Visual Studio 2019
environment:
matrix:
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38-x64"
- PYTHON: "C:\\Python39-x64"
- PYTHON: "C:\\Python310-x64"
clone_depth: 1
branches:
only:
- master
- maint
- ci/all
- ci/appveyor
init:
- "ECHO Python from %PYTHON%"
install:
# Python
- "%PYTHON%\\python.exe --version"
- "%PYTHON%\\python.exe -m pip install --upgrade pip"
- "%PYTHON%\\python.exe -m pip --version"
- "%PYTHON%\\python.exe -m pip install --upgrade setuptools"
- "%PYTHON%\\python.exe -m pip install --upgrade wheel"
- "%PYTHON%\\python.exe -m wheel version"
# Cython
- "%PYTHON%\\python.exe -m pip install Cython"
- "%PYTHON%\\python.exe -m cython --version"
# Microsoft MPI
- "powershell .azure\\install-msmpi.ps1"
- "SetEnvMPI.cmd"
build: off
build_script:
- "%PYTHON%\\python.exe setup.py build"
- "%PYTHON%\\python.exe setup.py --quiet bdist_wheel"
test: off
test_script:
- "%PYTHON%\\python.exe -m pip install --no-cache-dir --no-index --find-links=dist\\ mpi4py"
- "\"%MSMPI_BIN%\\mpiexec.exe\" -n 1 %PYTHON%\\python.exe %CD%\\test\\runtests.py -v -f --no-builddir"
- "\"%MSMPI_BIN%\\mpiexec.exe\" -n 1 %PYTHON%\\python.exe %CD%\\demo\\futures\\test_futures.py -v"
- "\"%MSMPI_BIN%\\mpiexec.exe\" -n 2 %PYTHON%\\python.exe %CD%\\demo\\futures\\test_futures.py -v"
- "%PYTHON%\\python.exe %CD%\\demo\\test-run\\test_run.py -v"
- "%PYTHON%\\python.exe -m pip uninstall --yes mpi4py"
artifacts:
- path: dist\*
#cache:
# - C:\Downloads\MSMPI -> .azure\install-msmpi.ps1
# - '%LOCALAPPDATA%\pip\Cache'