forked from SpotlightKid/python-rtmidi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
43 lines (33 loc) · 1.26 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
skip_non_tags: true
environment:
matrix:
- PYTHON: Python36
- PYTHON: Python36-x64
- PYTHON: Python37
- PYTHON: Python37-x64
- PYTHON: Python38
- PYTHON: Python38-x64
- PYTHON: Python39
ARCHITECTURE: x86
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- PYTHON: Python39-x64
ARCHITECTURE: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# To clear the cache, see https://ci.appveyor.com/api-keys for the token and use:
# wget --header="Authorization: Bearer $TOKEN" --method DELETE https://ci.appveyor.com/api/projects/$USER/$PROJECT/buildcache
cache:
- '%LOCALAPPDATA%\pip\Cache'
clone_depth: 1
install:
- "SET PATH=C:\\%PYTHON%;C:\\%PYTHON%\\Scripts;%PATH%"
- 'C:\%PYTHON%\python.exe --version'
- 'C:\%PYTHON%\python.exe -m pip --disable-pip-version-check install -U pip setuptools wheel'
- 'C:\%PYTHON%\python.exe -m pip install -U Cython twine'
- 'C:\%PYTHON%\python.exe -m pip freeze --all'
before_build:
- git submodule update --init
build_script:
- ps: $env:SOURCE_DATE_EPOCH = (git log -1 --date=unix --format='format:%ct' rtmidi/version.py) | Out-String
- 'C:\%PYTHON%\python.exe setup.py release'
test: off
on_success: "if [%APPVEYOR_REPO_TAG%]==[true] twine upload --skip-existing dist\\*.whl"