-
Notifications
You must be signed in to change notification settings - Fork 8
/
.appveyor.yml
45 lines (35 loc) · 1.33 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
# Once I have the MathLink binaries I'm gonna try to build on Windows too
# For that we'll use AppVeyor from: https://packaging.python.org/guides/supporting-windows-using-appveyor/#appveyor-yml
# With this we'll have Linux via Travis, Windows via AppVeyor, and I can easily build Mac locally
environment:
matrix:
# For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/#python
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
install:
- "%PYTHON%\\python.exe -m pip install wget"
build_script:
- "%PYTHON%\\python.exe build.py"
test_script:
- "%PYTHON%\\python.exe Tests/test.py"
before_deploy:
- git config --local user.name "b3m2a1-builder"
- git config --local user.email "[email protected]"
- git tag "WindowsBinary-$APPVEYOR_BUILD_NUMBER"
artifacts:
- path: PJLink/PJLinkNativeLibrary/Windows-x86-64/PJLinkNativeLibrary.pyd
name: lib
deploy:
provider: GitHub
release: "Windows Binary"
description: "Windows Binary"
tag: WindowsBinary-v$(APPVEYOR_BUILD_NUMBER)
auth_token:
secure: rwXvMg12winYWs7RER+aUWCvEdS7Gfe4pd2QdQa7YNWXAUFdkw6HfETpTNAqn953
repository: b3m2a1/PJLink
artifact: /.*\.pyd/
draft: true
prerelease: true