From 9b78f232e550a597b595afc0afa0884272f103a9 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Sun, 19 May 2019 23:05:06 +0200 Subject: [PATCH 1/2] AppVeyor --- .appveyor.yml | 15 +++++++++++++++ premake5.lua | 6 +++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..dcc272df --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,15 @@ +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 diff --git a/premake5.lua b/premake5.lua index 67766af5..11e09b1b 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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" } From 934c96ea4b20e7cc5f1491d03b3ba2628b09c0f0 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Sun, 19 May 2019 23:30:54 +0200 Subject: [PATCH 2/2] Store artifacts --- .appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index dcc272df..6e9b3867 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -13,3 +13,5 @@ before_build: build: project: c:\projects\re3\build\re3.sln verbosity: minimal +artifacts: + - path: bin/ReleaseCI/re3.dll