forked from groupeLIAMG/ttcr
-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
35 lines (29 loc) · 930 Bytes
/
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
environment:
TWINE_USERNAME: __token__
global:
CIBW_BUILD: cp3[789]-*
CIBW_SKIP: "*-win32 *-manylinux_i686"
CIBW_BEFORE_BUILD: "python -m pip install --upgrade pip && python -m pip install -r requirements.txt"
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: macos
APPVEYOR_JOB_NAME: "python38-x64-macos"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
APPVEYOR_JOB_NAME: "python38-x64-vs2019"
PYTHON: "C:\\Python38-x64"
PYTHON_ARCH: "64"
stack: python 3.8
init:
- cmd: set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
install:
- python -m pip install --upgrade pip
- python -m pip install cibuildwheel==1.6.0
build_script:
- python -m cibuildwheel --output-dir wheelhouse
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true") {
python -m pip install twine
python -m twine upload wheelhouse/*.whl
}
artifacts:
- path: "wheelhouse\\*.whl"
name: Wheels