[APP] Detect PR builds with XE_BUILD_IS_PR

This commit is contained in:
Adrian
2025-10-28 20:27:45 +00:00
committed by Radosław Gliński
parent 8d2d80dfde
commit 299ba08983
4 changed files with 20 additions and 24 deletions

View File

@@ -175,8 +175,7 @@ EmulatorWindow::EmulatorWindow(Emulator* emulator,
#endif
" ("
#ifdef XE_BUILD_IS_PR
"PR#" XE_BUILD_PR_NUMBER " " XE_BUILD_PR_REPO
" " XE_BUILD_PR_BRANCH "@" XE_BUILD_PR_COMMIT_SHORT " against "
"PR#" XE_BUILD_PR_NUMBER " - "
#endif
XE_BUILD_BRANCH "@" XE_BUILD_COMMIT_SHORT " on " XE_BUILD_DATE
")";

View File

@@ -124,8 +124,7 @@ int InitializeWin32App(const std::string_view app_name) {
XELOGI(
"Build: "
#ifdef XE_BUILD_IS_PR
"PR#" XE_BUILD_PR_NUMBER " " XE_BUILD_PR_REPO " " XE_BUILD_PR_BRANCH
"@" XE_BUILD_PR_COMMIT_SHORT " against "
"PR#" XE_BUILD_PR_NUMBER " - "
#endif
XE_BUILD_BRANCH "@" XE_BUILD_COMMIT_SHORT " on " XE_BUILD_DATE);

View File

@@ -233,8 +233,7 @@ static bool exception_pointers_handler(HostExceptionReport* report) {
std::string build = (
#ifdef XE_BUILD_IS_PR
"PR#" XE_BUILD_PR_NUMBER " " XE_BUILD_PR_REPO " " XE_BUILD_PR_BRANCH
"@" XE_BUILD_PR_COMMIT_SHORT " against "
"PR#" XE_BUILD_PR_NUMBER " - "
#endif
XE_BUILD_BRANCH "@" XE_BUILD_COMMIT_SHORT " on " XE_BUILD_DATE);