forked from mapeditor/tiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
30 lines (25 loc) · 883 Bytes
/
Copy pathappveyor.yml
File metadata and controls
30 lines (25 loc) · 883 Bytes
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
os: MinGW
clone_depth: 200
environment:
global:
QTDIR: C:\Qt\5.3\mingw482_32
NSIS_ROOT: C:\nsis
MINGW: C:\Qt\Tools\mingw482_32
install:
- appveyor DownloadFile "http://sunet.dl.sourceforge.net/project/nsis/NSIS 2/2.46/nsis-2.46-setup.exe" -FileName nsissetup.exe
- nsissetup /S /D=%NSIS_ROOT%
- set PATH=%PATH%;%QTDIR%\bin;%MINGW%\bin
build_script:
- FOR /F "tokens=*" %%i in ('git describe') do SET COMMITNOW=%%i
- set TILED_BUILD_DIR=%APPVEYOR_BUILD_FOLDER%
- set VERSION=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%
- set ARCH=32
- echo Building Tiled daily %VERSION%... (from %COMMITNOW%)
- qmake tiled.pro "CONFIG+=release" "QMAKE_CXXFLAGS+=-DBUILD_INFO_VERSION=%COMMITNOW%"
- mingw32-make
after_build:
- pushd %APPVEYOR_BUILD_FOLDER%\dist\win
- '%NSIS_ROOT%\makensis tiled.nsi'
artifacts:
- name: Installer
path: 'dist\win\tiled-*.exe'