forked from mypyc/mypy_mypyc-wheels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
61 lines (52 loc) · 1.87 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
60
61
skip_non_tags: true
cache:
- '%LOCALAPPDATA%\pip\Cache'
image: Visual Studio 2017
environment:
matrix:
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"
install:
- "git submodule update --init --recursive"
- ps: .\install_python.ps1
- "%PYTHON%\\python.exe -m pip install -U pip setuptools wheel virtualenv"
- "%PYTHON%\\python.exe -m pip install -r mypy/mypy-requirements.txt"
build: off
test_script:
- systeminfo
- wmic cpu get SocketDesignation, NumberOfCores, NumberOfLogicalProcessors /Format:List
# distutils wants to use the 32-bit cross-compiler since 64-bit might not be
# present in "lighter-weight installs". We arrange to always use the 64-bit
# version because the 32-bit linker runs out of memory linking mypy.
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- "SET DISTUTILS_USE_SDK=1"
- "SET MYPYC_OPT_LEVEL=2"
- "cd mypy"
- "%PYTHON%\\python.exe setup.py --use-mypyc bdist_wheel"
- "cd .."
artifacts:
# bdist_wheel puts your built wheel in the dist directory
- path: mypy\dist\*
name: wheel
deploy:
- provider: GitHub
release: $(appveyor_repo_tag_name)
artifact: wheel
auth_token:
secure: MUA4J5iguzBLtqnbxWLb1kDb2WHZFm7r9tNw1AfwqUB3BhFqp8X89g5MALUY1rvw
on:
appveyor_repo_tag: true # deploy on tag push only
#on_success:
# You can use this step to upload your artifacts to a public website.
# See Appveyor's documentation for more details. Or you can simply
# access your wheels from the Appveyor "artifacts" tab for your build.