forked from derekriemer/nvda-notepadPlusPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (36 loc) · 940 Bytes
/
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
version: "{branch}-{build}"
environment:
PY_PYTHON: 3.7-32
init:
- ps: |
if ($env:APPVEYOR_REPO_TAG_NAME) {
if ($env:APPVEYOR_REPO_TAG_NAME.StartsWith("beta-")) {
Set-AppveyorBuildVariable "prerelease" true"
} else {
Set-AppveyorBuildVariable "prerelease" false"
}
}
install:
- py -m pip install markdown
- py -m pip install scons
build_script:
- set path=%path%;C:\Python37\Scripts
- scons
- scons pot
artifacts:
- path: '*.nvda-addon'
name: addon
type: application/x-nvda-addon
- path: '*.pot'
type: application/x-pot
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
auth_token:
secure: KzOT07hQ360+it35h1n/1BU6DYiP9+l4OntltlNUYsZwhy+J0tKvZWGXxQVQYws0
artifact: addon
draft: false
prerelease: $(prerelease)
on:
appveyor_repo_tag: true # deploy on tag push only