Don't build dev builds anymore
This commit is contained in:
parent
614200d429
commit
e121260701
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
uses: microsoft/setup-msbuild@v1.3.1
|
||||
|
||||
- name: Generate project files
|
||||
run: tools/premake5 vs2022 --dev-build
|
||||
run: tools/premake5 vs2022 --no-check
|
||||
|
||||
- name: Set up problem matching
|
||||
uses: ammaraskar/msvc-problem-matcher@master
|
||||
|
10
premake5.lua
10
premake5.lua
@ -77,6 +77,12 @@ newoption {
|
||||
description = "Enable development builds of the client."
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "no-check",
|
||||
description = "Disable ownership checks."
|
||||
}
|
||||
|
||||
|
||||
newaction {
|
||||
trigger = "version",
|
||||
description = "Returns the version string for the current commit of the source code.",
|
||||
@ -243,6 +249,10 @@ workspace "boiii"
|
||||
if _OPTIONS["dev-build"] then
|
||||
defines {"DEV_BUILD"}
|
||||
end
|
||||
|
||||
if _OPTIONS["no-check"] then
|
||||
defines {"NO_CHECK"}
|
||||
end
|
||||
|
||||
if os.getenv("CI") then
|
||||
defines {"CI"}
|
||||
|
@ -187,7 +187,7 @@ namespace steam_proxy
|
||||
|
||||
void evaluate_ownership_state(const ownership_state state)
|
||||
{
|
||||
#ifdef DEV_BUILD
|
||||
#if defined(DEV_BUILD) || defined(NO_CHECK)
|
||||
(void)state;
|
||||
#else
|
||||
switch (state)
|
||||
|
Loading…
Reference in New Issue
Block a user