forked from Podshot/MCEdit-Unified
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
67 lines (52 loc) · 1.85 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.6.0.{build}-testing
shallow_clone: true
clone_depth: 1
cache:
# Cache downloaded pip packages.
- "C:\\Users\\appveyor\\AppData\\Local\\pip"
#---------------------------------#
# environment configuration #
#---------------------------------#
# Operating system (build VM template)
os: Windows Server 2012
environment:
matrix:
- PYTHON: "c:\\python27"
WHL_ARCH: 32
- PYTHON: "c:\\python27-x64"
WHL_ARCH: _amd64
global:
MCEDIT_BUILD_VERSION: $(version)
# MCEDIT_BUILD_VERSION: 1.6.0.{build}-testing
# scripts that run after cloning repository
install:
# by default, all script lines are interpreted as batch
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "%PYTHON%\\python.exe -m pip install wheel"
-
- pip install -r requirements.txt
- pip install pyinstaller
- python setup.py all
build_script:
- pyinstaller mcedit-ci.spec -y
artifacts:
- path: ./dist/*.zip
deploy:
release: 'MCEdit-Unified $(APPVEYOR_BUILD_VERSION)'
description: '### This is a testing build! \n### Use precautions, backup all data, do not use unless you know what you are doing. Read the [Warning and FAQ](https://github.com/Podshot/MCEdit-Unified-Preview/blob/master/README.md#warnings) page before downloading.\n\nBuilt on commit: $(APPVEYOR_REPO_COMMIT)'
provider: GitHub
auth_token: "$(GITHUB_AUTH_TOKEN)"
artifact: /dist\/mcedit-unified-.*\.zip/
draft: false
prerelease: true
force_update: true
repository: Podshot/MCEdit-Unified-Preview