|
@@ -16,6 +16,7 @@ matrix:
|
|
image:
|
|
image:
|
|
- Visual Studio 2015
|
|
- Visual Studio 2015
|
|
- Visual Studio 2017
|
|
- Visual Studio 2017
|
|
|
|
+ - MinGW
|
|
|
|
|
|
platform:
|
|
platform:
|
|
- Win32
|
|
- Win32
|
|
@@ -26,10 +27,13 @@ configuration: Release
|
|
install:
|
|
install:
|
|
- set PATH=C:\Ruby24-x64\bin;%PATH%
|
|
- set PATH=C:\Ruby24-x64\bin;%PATH%
|
|
- set CMAKE_DEFINES -DASSIMP_WERROR=ON
|
|
- set CMAKE_DEFINES -DASSIMP_WERROR=ON
|
|
|
|
+ - if [%COMPILER%]==[MinGW] set PATH=C:\MinGW\bin;%PATH%
|
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015
|
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015
|
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017
|
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017
|
|
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=%CMAKE_GENERATOR_NAME% Win64
|
|
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=%CMAKE_GENERATOR_NAME% Win64
|
|
- cmake %CMAKE_DEFINES% -G "%CMAKE_GENERATOR_NAME%" .
|
|
- cmake %CMAKE_DEFINES% -G "%CMAKE_GENERATOR_NAME%" .
|
|
|
|
+ # Rename sh.exe as sh.exe in PATH interferes with MinGW
|
|
|
|
+ - rename "C:\Program Files\Git\usr\bin\sh.exe" "sh2.exe"
|
|
- set PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
|
|
- set PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
|
|
- ps: Invoke-WebRequest -Uri https://download.microsoft.com/download/5/7/b/57b2947c-7221-4f33-b35e-2fc78cb10df4/vc_redist.x64.exe -OutFile .\packaging\windows-innosetup\vc_redist.x64.exe
|
|
- ps: Invoke-WebRequest -Uri https://download.microsoft.com/download/5/7/b/57b2947c-7221-4f33-b35e-2fc78cb10df4/vc_redist.x64.exe -OutFile .\packaging\windows-innosetup\vc_redist.x64.exe
|
|
- ps: Invoke-WebRequest -Uri https://download.microsoft.com/download/1/d/8/1d8137db-b5bb-4925-8c5d-927424a2e4de/vc_redist.x86.exe -OutFile .\packaging\windows-innosetup\vc_redist.x86.exe
|
|
- ps: Invoke-WebRequest -Uri https://download.microsoft.com/download/1/d/8/1d8137db-b5bb-4925-8c5d-927424a2e4de/vc_redist.x86.exe -OutFile .\packaging\windows-innosetup\vc_redist.x86.exe
|