From 8eea89d3b1dc54752bfd75b27114a4ccfb8c41c0 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Thu, 13 Jun 2019 11:12:42 +0200 Subject: CI add debug mode --- .appveyor.yml | 7 +++++-- README.md | 8 ++++++-- premake5.lua | 11 +++++------ 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 6e9b3867..d3f57374 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,5 +1,7 @@ image: Visual Studio 2017 -configuration: ReleaseCI +configuration: + - DebugCI + - ReleaseCI platform: - Win32 environment: @@ -14,4 +16,5 @@ build: project: c:\projects\re3\build\re3.sln verbosity: minimal artifacts: - - path: bin/ReleaseCI/re3.dll + path: bin/%CONFIGURATION%/re3.dll + diff --git a/README.md b/README.md index 19a9ae08..e6aa8d07 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,12 @@ The aim of this project is to reverse GTA III for PC by replacing parts of the game [one by one](https://en.wikipedia.org/wiki/Ship_of_Theseus) such that we have a working game at all times. -Apparently you can download a binary of the latest version -[here](https://ci.appveyor.com/api/projects/aap/re3/artifacts/bin%2FReleaseCI%2Fre3.dll?branch=master). +Apparently you can download a binary of the latest version here: +[Debug](https://ci.appveyor.com/api/projects/app/re3/artifacts/bin/DebugCI/re3.dll?branch=master&job=Configuration%3A+DebugCI), +[Release](https://ci.appveyor.com/api/projects/app/re3/artifacts/bin/ReleaseCI/re3.dll?branch=master&job=Configuration%3A+ReleaseCI). + +Build status: +[![Build status](https://ci.appveyor.com/api/projects/status/hyiwgegks122h8jg?svg=true)](https://ci.appveyor.com/project/aap/re3/branch/master) Re3 starts the script main_freeroam.scm by default. Make sure you copy it to your data directory. diff --git a/premake5.lua b/premake5.lua index 68a08a1a..49d0d502 100644 --- a/premake5.lua +++ b/premake5.lua @@ -1,5 +1,5 @@ workspace "re3" - configurations { "ReleaseCI", "Release", "ReleaseFH", "Debug" } + configurations { "DebugCI", "ReleaseCI", "Release", "ReleaseFH", "Debug" } location "build" files { "src/*.*" } @@ -62,12 +62,11 @@ project "re3" debugcommand "F:/Rockstar Games/GTAIII/gta3.exe" targetextension ".asi" targetdir "F:/Rockstar Games/GTAIII/scripts" + filter "configurations:DebugCI" + defines { "DEBUG" } + symbols "On" + staticruntime "on" filter "configurations:ReleaseCI" defines { "NDEBUG" } optimize "On" staticruntime "on" - filter "configurations:DebugCI" - defines { "DEBUG" } - staticruntime "on" - symbols "On" - -- cgit v1.2.3