Skip to content

Commit

Permalink
AppVeyor: Added 64-bit MSVC 2013 builds
Browse files Browse the repository at this point in the history
These are without Python support for now.
  • Loading branch information
bjorn committed Sep 22, 2015
1 parent d5dbab2 commit 45888f9
Show file tree
Hide file tree
Showing 6 changed files with 336 additions and 101 deletions.
17 changes: 10 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
clone_depth: 200

environment:
QTDIR: C:\Qt\5.5\mingw492_32
MINGW: C:\Qt\Tools\mingw492_32
global:
MINGW: C:\Qt\Tools\mingw492_32
matrix:
- QTDIR: C:\Qt\5.5\mingw492_32
- QTDIR: C:\Qt\5.5\msvc2013_64

configuration: Release

Expand All @@ -18,11 +21,11 @@ build_script:
- if not defined APPVEYOR_REPO_TAG_NAME set VERSION=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%
- if not defined APPVEYOR_REPO_TAG_NAME set BUILD_INFO_VERSION=%COMMITNOW%
- if not defined APPVEYOR_REPO_TAG_NAME echo Building Tiled daily %VERSION%... (from %COMMITNOW%)
- qbs setup-toolchains --type mingw %MINGW%\bin\g++.exe mingw
- qbs config profiles.mingw.cpp.archiverPath ar.exe
- qbs config profiles.mingw.cpp.nmPath nm.exe
- qbs config profiles.mingw.cpp.objcopyPath objcopy.exe
- qbs config profiles.mingw.cpp.stripPath strip.exe
- qbs setup-toolchains --detect
- qbs config profiles.i686-w64-mingw32.cpp.archiverPath ar.exe
- qbs config profiles.i686-w64-mingw32.cpp.nmPath nm.exe
- qbs config profiles.i686-w64-mingw32.cpp.objcopyPath objcopy.exe
- qbs config profiles.i686-w64-mingw32.cpp.stripPath strip.exe
- qbs setup-qt %QTDIR%\bin\qmake.exe qt
- qbs config defaultProfile qt
- qbs install --all-products --install-root install-root release
Expand Down
2 changes: 1 addition & 1 deletion dist/win/build-daily.bat
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ popd

echo Building Installer...
pushd %TILED_SOURCE_DIR%\dist\win
makensis.exe tiled.nsi
makensis.exe tiled-vs2013.nsi

echo Uploading installer...
%SCP% -B tiled-%VERSION%-win32-setup.exe %DESTINATION%
Expand Down
89 changes: 0 additions & 89 deletions dist/win/build_installer.bat

This file was deleted.

11 changes: 7 additions & 4 deletions dist/win/dist.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import qbs.FileInfo

NSISSetup {
builtByDefault: false
condition: qbs.toolchain.contains("mingw")
condition: qbs.toolchain.contains("mingw") || qbs.toolchain.contains("msvc")

Depends { productTypes: ["application", "dynamiclibrary"] }
type: base.concat(["installable"])
Expand All @@ -29,7 +29,10 @@ NSISSetup {
"BUILD_DIR=" + qbs.installRoot
]

files: [
"*"
]
files: {
if (qbs.toolchain.contains("mingw"))
return ["tiled-mingw.nsi"]
else
return ["tiled-vs2013.nsi"]
}
}
File renamed without changes.
Loading

0 comments on commit 45888f9

Please sign in to comment.