-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.appveyor.yml
More file actions
53 lines (42 loc) · 1.37 KB
/
.appveyor.yml
File metadata and controls
53 lines (42 loc) · 1.37 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
shallow_clone: false
os:
- Visual Studio 2017
platform:
- x64
configuration:
- Release
environment:
VCVAR2017: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat'
matrix:
- PYTHON: "C:\\Python39-x64"
PYTHON_VERSION: "3.9.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
install:
- git submodule update --init --recursive
- ps: |
if (-not (Test-Path $env:PYTHON)) {
curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/devel/install_python.ps1
.\install_python.ps1
}
- ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" }
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python --version
build_script:
# Build the compiled extension
- call "%VCVAR2017%" x86_amd64
- cmd: |
"%PYTHON%\\python.exe" -m pip install --upgrade pip
"%PYTHON%\\python.exe" -m pip install --upgrade setuptools
set "CI_BUILD=1" && "%PYTHON%\\python.exe" -m pip wheel --wheel-dir=%cd%\dist . --verbose
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\bgfx_python*
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse
#