|
|
|
@ -21,7 +21,7 @@ branches:
@@ -21,7 +21,7 @@ branches:
|
|
|
|
|
matrix: |
|
|
|
|
fast_finish: true |
|
|
|
|
|
|
|
|
|
os: Visual Studio 2017 |
|
|
|
|
os: Visual Studio 2019 |
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
|
- x86 |
|
|
|
@ -31,12 +31,12 @@ configuration:
@@ -31,12 +31,12 @@ configuration:
|
|
|
|
|
- Release |
|
|
|
|
|
|
|
|
|
environment: |
|
|
|
|
VS_VERSION: vs2017 |
|
|
|
|
VS_VERSION: 2019 |
|
|
|
|
DEPS_PATH: '%APPVEYOR_BUILD_FOLDER%\deps' |
|
|
|
|
LLVM_PATH: '%APPVEYOR_BUILD_FOLDER%\deps\llvm' |
|
|
|
|
BUILD_PATH: '%APPVEYOR_BUILD_FOLDER%\build\%VS_VERSION%' |
|
|
|
|
LIB_PATH: '%APPVEYOR_BUILD_FOLDER%\build\%VS_VERSION%\lib\%CONFIGURATION%_%PLATFORM%' |
|
|
|
|
ARTIFACT_NAME: '%APPVEYOR_PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%VS_VERSION%-%PLATFORM%.zip' |
|
|
|
|
BUILD_PATH: '%APPVEYOR_BUILD_FOLDER%\build\vs%VS_VERSION%' |
|
|
|
|
LIB_PATH: '%APPVEYOR_BUILD_FOLDER%\build\vs%VS_VERSION%\lib\%CONFIGURATION%_%PLATFORM%' |
|
|
|
|
ARTIFACT_NAME: '%APPVEYOR_PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-vs%VS_VERSION%-%PLATFORM%.zip' |
|
|
|
|
GITHUB_ACCESS_TOKEN: |
|
|
|
|
secure: CrxPDgxTKC9ZRvFjttpRPO+e1DT8s0Zkk9HrAmHOIzDkOfFbbu1iTm/yJjZ2eDcd |
|
|
|
|
|
|
|
|
@ -44,11 +44,11 @@ init:
@@ -44,11 +44,11 @@ init:
|
|
|
|
|
- git config --global core.autocrlf true |
|
|
|
|
|
|
|
|
|
install: |
|
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM% |
|
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\%VS_VERSION%\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM% |
|
|
|
|
- build\premake5.exe --file=build\scripts\LLVM.lua download_llvm --arch=%PLATFORM% |
|
|
|
|
|
|
|
|
|
build_script: |
|
|
|
|
- build\premake5.exe --file=build\premake5.lua %VS_VERSION% --arch=%PLATFORM% |
|
|
|
|
- build\premake5.exe --file=build\premake5.lua vs%VS_VERSION% --arch=%PLATFORM% |
|
|
|
|
- msbuild %BUILD_PATH%\CppSharp.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:minimal |
|
|
|
|
|
|
|
|
|
#---------------------------------# |
|
|
|
|