forked from parallaxinc/PropellerIDE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
53 lines (45 loc) · 1.38 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
clone_depth: 200
environment:
QTDIR: C:\Qt\5.4\mingw492_32
MINGW: C:\Qt\Tools\mingw492_32
PYTHON: C:\Python27
INNODIR: C:\Program Files (x86)\Inno Setup 5
FPCDIR: C:\FPC\3.0.0\bin\i386-win32
PYTHON_VERSION: "2.7.x" # currently 2.7.9
PYTHON_ARCH: "32"
configuration: Release
install:
- git submodule update --init --recursive
- set PATH=%PATH%;%QTDIR%\bin;%MINGW%\bin;C:\Qt\Tools\QtCreator\bin;
- set PATH=%PATH%;%PYTHON%;%PYTHON%\Scripts;
- set PATH=%PATH%;%INNODIR%;
- set PATH=%PATH%;%FPCDIR%;
- choco install -y 7zip
- set PATH=%PATH%;"C:\Program Files\7-Zip"
- curl -o "C:\FPC.zip" "http://lamestation.net/downloads/appveyor/FPC.zip"
- 7z x "C:\FPC.zip" -o"C:\"
- if defined APPVEYOR_REPO_TAG_NAME set BUILD_VERSION=%APPVEYOR_REPO_TAG_NAME%
- if not defined APPVEYOR_REPO_TAG_NAME set BUILD_VERSION="0.0.0"
- python --version
- qmake -v
- pip install Pillow
- git clone https://github.com/lamestation/packthing
- cd packthing
- pip install -r requirements.txt
- python setup.py install
- cd ..
- packthing -h
- choco install -y InnoSetup
build_script:
- packthing --version %BUILD_VERSION% inno
artifacts:
- path: build\staging\*.exe
name: package
deploy:
provider: GitHub
auth_token:
secure: GXCflmAAS74HVbfY3BV+6wN9HZ6qzYgrcINy3I4KBrUqsRQZUmoa+APbJbt4NzXb
draft: false
prerelease: false
on:
appveyor_repo_tag: true