Skip to content

Commit

Permalink
use build in mingw64 5.3.0 from appveyor instead of downloading (#126)
Browse files Browse the repository at this point in the history
* use build in mingw64 5.3.0 from appveyor instead of downloading

- upgrade to mingw-4.9.2 compiler
- upgrade to newest ninja build
- upgrade to boost 1.63
  • Loading branch information
acki-m authored Mar 3, 2018
1 parent eb6df03 commit 79b619c
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ environment:
ARCHITECTURE: x64
TESTS_ONLY: true
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
- COMPILER: MINGW_482
- COMPILER: MINGW_492
ARCHITECTURE: x86
TESTS_ONLY: true
- COMPILER: MINGW_W64
Expand Down Expand Up @@ -81,18 +81,12 @@ install:
#######################################################################################
# Install Ninja
#######################################################################################
- set NINJA_URL="/~https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-win.zip"
- set NINJA_URL="/~https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip"
- appveyor DownloadFile %NINJA_URL% -FileName ninja.zip
- 7z x ninja.zip -oC:\projects\deps\ninja > nul
- set PATH=C:\projects\deps\ninja;%PATH%
- ninja --version

#######################################################################################
# Install MinGW
#######################################################################################
- IF "%COMPILER%" == "MINGW_W64" appveyor-retry appveyor DownloadFile http://downloads.sourceforge.net/mingw-w64/x86_64-5.3.0-release-posix-seh-rt_v4-rev0.7z
- IF "%COMPILER%" == "MINGW_W64" 7z x x86_64-5.3.0-release-posix-seh-rt_v4-rev0.7z -oc:\ > nul

#######################################################################################
# CMake
#######################################################################################
Expand All @@ -101,8 +95,8 @@ install:
#######################################################################################
# setup boost
#######################################################################################
- set BOOST_ROOT=C:\Libraries\boost_1_62_0
- set BOOST_LIBRARYDIR=C:\Libraries\boost_1_62_0\lib64-msvc-14.0
- set BOOST_ROOT=C:\Libraries\boost_1_63_0
- set BOOST_LIBRARYDIR=C:\Libraries\boost_1_63_0\lib64-msvc-14.0

before_build:
- cmd: cd C:\projects\rttr
Expand All @@ -113,7 +107,8 @@ before_build:
- IF "%ARCHITECTURE%" == "x86" IF "%COMPILER%" == "MSVC_12" call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat"
- IF "%ARCHITECTURE%" == "x64" IF "%COMPILER%" == "MSVC_12" call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
- IF "%ARCHITECTURE%" == "x86" IF "%COMPILER%" == "MINGW_482" set PATH=C:\Qt\Tools\mingw482_32\bin;%PATH%
- IF "%ARCHITECTURE%" == "x64" IF "%COMPILER%" == "MINGW_W64" set PATH=C:\mingw64\bin;%PATH%
- IF "%ARCHITECTURE%" == "x86" IF "%COMPILER%" == "MINGW_492" set PATH=C:\Qt\Tools\mingw492_32\bin;%PATH%
- IF "%ARCHITECTURE%" == "x64" IF "%COMPILER%" == "MINGW_W64" set PATH=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%

#######################################################################################
# we can use Ninja for all configurations
Expand Down

0 comments on commit 79b619c

Please sign in to comment.