Merge pull request #1 from ShFil119/appveyor

Appveyor
This commit is contained in:
aap 2019-05-20 11:07:38 +02:00 committed by GitHub
commit a4d279b392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions

17
.appveyor.yml Normal file
View File

@ -0,0 +1,17 @@
image: Visual Studio 2017
configuration: ReleaseCI
platform:
- Win32
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
install:
- set PATH=%APPVEYOR_BUILD_FOLDER%/bin;%PATH%
before_build:
- mkdir "%APPVEYOR_BUILD_FOLDER%/build"
- cd "%APPVEYOR_BUILD_FOLDER%"
- premake5.exe vs2015
build:
project: c:\projects\re3\build\re3.sln
verbosity: minimal
artifacts:
- path: bin/ReleaseCI/re3.dll

View File

@ -1,5 +1,5 @@
workspace "re3"
configurations { "Release","Debug" }
configurations { "ReleaseCI", "Release", "Debug" }
location "build"
files { "src/*.*" }
@ -41,3 +41,7 @@ project "re3"
debugdir "C:/Users/aap/games/gta3_re"
debugcommand "C:/Users/aap/games/gta3_re/gta3.exe"
postbuildcommands "copy /y \"$(TargetPath)\" \"C:\\Users\\aap\\games\\gta3_re\\plugins\\re3.dll\""
filter "configurations:ReleaseCI"
defines { "NDEBUG" }
optimize "On"
flags { "StaticRuntime" }