-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
46 lines (36 loc) · 1.14 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
version: 0.1.{build}
image: Visual Studio 2017
shallow_clone: true
install:
- choco install -y windows-sdk-10-version-1903-windbg
# - choco install -y -pre --params "Include_symbols=1" python3
platform:
- Win32
- x64
configuration:
- Debug
- Release
build:
project: PyExt.sln
test_script:
- cd test\scripts
- py -3 run_all_tests.py %APPVEYOR_BUILD_FOLDER%/%PLATFORM%/%CONFIGURATION%/PyExtTest.exe
# Package up build artifacts.
after_build:
- 7z a PyExt-%PLATFORM%-%CONFIGURATION%.zip .\*\*\pyext.dll .\*\*\pyext.pdb
artifacts:
- path: PyExt-$(Platform)-$(Configuration).zip
name: PyExt-$(Platform)-$(Configuration)
# Deploy build artifacts to GitHub Releases
deploy:
- provider: GitHub
release: PyExt-v$(appveyor_build_version)
description: 'AppVeyor deploy of PyExt v$(appveyor_build_version)'
auth_token:
secure: FLeKshd/j9QXbwrM1rCA+tNGkFz8DnN/2Xr/m66oHzv2Qzm9GMb4Bj5UT4GNC5IQ
artifact: PyExt-$(Platform)-$(Configuration).zip
draft: true
prerelease: true
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only