forked from EMS-TU-Ilmenau/fastmat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
92 lines (74 loc) · 2.65 KB
/
Copy pathappveyor.yml
File metadata and controls
92 lines (74 loc) · 2.65 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
branches:
only:
- stable
- cisetup
environment:
global:
CIBW_ENVIRONMENT: "FASTMAT_GENERIC=1"
FASTMAT_GENERIC: "1"
TWINE_REPOSITORY:
secure: uxrVt8G0aReV23OXS5lWKg==
TWINE_REPOSITORY_URL:
secure: ZOBFk0ZQrSJU2YF/RWZObU/2O9XBbQ42I9vDVg3JPd8=
TWINE_USERNAME:
secure: vmEPVHBcWLBeQoU4t3pl8A==
TWINE_PASSWORD:
secure: B4T7ikd4NORqQxYQ6fO1e6QU7EUNVkRZG7rvNxMMH/E=
matrix:
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
CONDA_PY: "35"
CIBW_BUILD: 'cp35-win32 cp35-win_amd64'
CIBW_BEFORE_BUILD: "python -m pip install -r requirements-dev.txt"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
CONDA_PY: "36"
CIBW_BUILD: 'cp36-win32 cp36-win_amd64'
CIBW_BEFORE_BUILD: "python -m pip install -r requirements-dev.txt"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
CONDA_PY: "37"
CIBW_BUILD: 'cp37-win32 cp37-win_amd64'
CIBW_BEFORE_BUILD: "python -m pip install -r requirements-dev.txt"
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
CONDA_PY: "38"
CIBW_BUILD: 'cp38-win32 cp38-win_amd64'
CIBW_BEFORE_BUILD: "python -m pip install -r requirements-dev38.txt"
- PYTHON: "C:\\Python39-x64"
PYTHON_VERSION: "3.9"
PYTHON_ARCH: "64"
CONDA_PY: "39"
CIBW_BUILD: 'cp39-win32 cp39-win_amd64'
CIBW_BEFORE_BUILD: "python -m pip install -r requirements-dev39.txt"
# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python
install:
- ECHO "Filesystem root:"
- ECHO "Installed SDKs:"
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
# Upgrade to the latest version of pip to avoid it displaying warnings
# about it being out of date.
- "python -m pip install --upgrade pip"
build_script:
- python -m pip install cibuildwheel==1.9 twine || python -m pip install cibuildwheel==1.4.1 twine
- python -m pip install -r requirements-dev.txt
- python setup.py build_ext --inplace
- python -m pip install .
test_script:
- python bee.py test -v
- cibuildwheel --output-dir wheelhouse
- twine upload "wheelhouse\\*.whl" --skip-existing & exit 0
artifacts:
- path: "wheelhouse\\*.whl"
name: Wheels