-
Notifications
You must be signed in to change notification settings - Fork 19
/
appveyor.yml
95 lines (87 loc) · 2.67 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
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
93
94
95
version: 0.0.{build}
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: C:\Python38-x64
SDIST: true
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: C:\Python38-x64
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: C:\Python37-x64
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: C:\Python36-x64
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: C:\Python35-x64
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: macos
PYTHON: venv3.9
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: macos
PYTHON: venv3.8
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: macos
PYTHON: venv3.7
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: macos
PYTHON: venv3.6
BUILD: true
- APPVEYOR_BUILD_WORKER_IMAGE: macos
PYTHON: venv3.5
BUILD: true
matrix:
fast_finish: true
for:
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
SDIST: true
build_script:
- cmd: "%PYTHON%\\python.exe setup.py sdist"
artifacts:
- path: dist\*
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
BUILD: true
install:
- cmd: "%PYTHON%\\python.exe -m pip install --user --upgrade setuptools wheel -r requirements.txt"
build_script:
- cmd: "%PYTHON%\\python.exe setup.py bdist_wheel"
artifacts:
- path: dist\*
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
BUILD: true
install:
- sh: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sh: sudo apt update
- sh: sudo apt -y install gcc-10 g++-10
- sh: "$HOME/$PYTHON/bin/python -m pip install --upgrade setuptools wheel -r requirements.txt"
- sh: export CC=/usr/bin/gcc-10
- sh: export CXX=/usr/bin/g++-10
build_script:
- sh: "$HOME/$PYTHON/bin/python setup.py bdist_wheel"
artifacts:
- path: dist/*
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: macos
BUILD: true
install:
- sh: brew install llvm@10 ninja
- sh: "~/$PYTHON/bin/python -m pip install --upgrade setuptools wheel -r requirements.txt"
- sh: export CC=/usr/local/opt/llvm/bin/clang
- sh: export CXX=/usr/local/opt/llvm/bin/clang++
- sh: export LDFLAGS="-L/usr/local/opt/llvm/lib -W1,-rpath,/usr/local/opt/llvm/lib"
build_script:
- sh: "~/$PYTHON/bin/python setup.py bdist_wheel"
artifacts:
- path: dist/*