Commit Graph

168 Commits

Author SHA1 Message Date
ben marsh
595309196c Merging NET 8 upgrades from Main.
[CL 36755991 by ben marsh in 5.5 branch]
2024-10-01 19:12:37 -04:00
joe kirchoff
8643a55953 WinPlatform.Automation: Disallow using x86 pdbcopy and pdbstr
#rnx

[CL 36439188 by joe kirchoff in 5.5 branch]
2024-09-19 12:56:28 -04:00
joe kirchoff
59d642bc39 WinPlatform.Automation: Disallow using x86 symstore
#rnx

[CL 36404309 by joe kirchoff in 5.5 branch]
2024-09-18 15:10:03 -04:00
john huelin
3ebba57ed8 Temporally add verbose output to Symstore to understand symbol publishing issue.
#rb mickael.gilabert

[CL 36353858 by john huelin in 5.5 branch]
2024-09-17 17:13:18 -04:00
david harvey
46f5c56af0 Fix for custom deployment handlers interfering when multiple platforms are specified on the BuildCookRun command line.
#jira UE-218487
#rb tomasz.obrebski
#rnx

[CL 34674250 by david harvey in ue5-main branch]
2024-06-26 09:50:39 -04:00
joe kirchoff
72a8c5996d Fix various XML comment issues in AutomationTool and various scripts (non-functional change)
#rnx

[CL 34263204 by joe kirchoff in ue5-main branch]
2024-06-10 21:51:45 -04:00
david harvey
fbaac454e9 Windows bootstrapper can handle stage-remapped executables.
#jira UE-209573
#rnx

#rb PJ.Kack, tomasz.obrebski

[CL 33860732 by david harvey in ue5-main branch]
2024-05-23 09:59:13 -04:00
david harvey
dc800f4771 AppLocalDependencies are copied to the current target platform's binary folders
- fixes AppLocalDependencies for Windows-based platform extensions

#jira UE-212492

#rb Josie.Yang

[CL 33134535 by david harvey in ue5-main branch]
2024-04-22 04:31:45 -04:00
joe kirchoff
f894052e4f Remove some old references to mono
#rnx
#jira UE-206585, UE-206586
#rb ryan.hummer

[CL 31634408 by joe kirchoff in ue5-main branch]
2024-02-19 19:18:28 -05:00
joe kirchoff
8e674c1c47 Update System.Drawing.Common to 4.7.3
#rnx

[CL 30279376 by joe kirchoff in ue5-main branch]
2023-12-12 17:25:50 -05:00
wojciech krywult
e178b6db03 Automation: Source indexing: Fixed source indexing working incorrectly for branches using the 'import' functionality on P4.
On Windows the code assumed that all source files come from the game's branch, which may not be true when importing parts of other branches. Modified the code to query the locally synced files using 'p4 have' which returns a list of correct local - depot mappings. Minor but related fixes on other platforms.

#rb David.Harvey

[CL 29784146 by wojciech krywult in ue5-main branch]
2023-11-16 13:36:31 -05:00
josh adams
e94ead8457 - Replaced System.Environment.MachineName (and System.Net.Dns.GetHostName()) with Unreal.MachineName, since Environment.MachineName is capped at 15 characters, and not every machine name is that short. Uses System.Net.Dns.GetHostName() internally unless is throws an exception, then it falls back to Env.MachineName
#rb adam.kinge, joe.kirchoff

[CL 29712082 by josh adams in ue5-main branch]
2023-11-14 09:40:24 -05:00
john huelin
dd0f2a2b39 Use new windowskit debugging tools to support indexing > 4Gb pdbs
[REVIEW]

[CL 29290214 by john huelin in ue5-main branch]
2023-10-31 16:50:21 -04:00
andrew phillips
bf12dcee39 Fixing vulnerable NuGet deps.
System.Drawing.Common 4.7.0 => 4.7.2  (https://github.com/advisories/GHSA-rxg9-xrhp-64gj)
MongoDB.Driver 2.11.5 => 2.19.0  (https://github.com/advisories/GHSA-7j9m-j397-g4wx)

#jira UE-194453
#rb francis.hurteau
#lockdown michal.valient

[CL 27715945 by andrew phillips in ue5-main branch]
2023-09-08 12:44:45 -04:00
david harvey
cf438cded9 CustomDeployment handler can be specified on the command line.
- still only used on Windows at the moment.

#jira UE-179187
#rnx
#rb Tomasz.Obrebski

[CL 27712186 by david harvey in ue5-main branch]
2023-09-08 11:14:48 -04:00
david harvey
6e22cd71c5 Automation platforms can define a custom deployment handler that can be used to alter staging, packaging and deployment behavior.
- Allows a target to change how it is packaged, staged and deployed - for example, when packaging for a specific game store

Hooked into Windows only at the moment, configured via:

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
CustomDeployment=MyCustomDeploymentHandler


#jira UE-179187
#rnx
#rb Eric.McDaniel

[CL 27370777 by david harvey in ue5-main branch]
2023-08-25 04:21:07 -04:00
David Harvey
e64b106ce5 Windows platform extensions can use BootstrapPackagedGame
#jira UE-179187
#rb Eric.McDaniel
#preflight 641d6225b72410fc1771c5ba

[CL 24777089 by David Harvey in ue5-main branch]
2023-03-24 04:57:24 -04:00
Ben Marsh
e141cb6196 More UAT structured logging fixes.
#preflight 6408dee3b0544ef0b4bca696

[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00
Ben Marsh
235eb77726 Change to structured logging in other AutomationTool projects.
#preflight 6408c4478c0039bbf750e861

[CL 24562553 by Ben Marsh in ue5-main branch]
2023-03-08 12:43:35 -05:00
Martin Ridgers
4ec44c2518 Added logging to the staging step that patches resources into the bootstrap executable.
#rb cm
#rnx
#jira ue-174877
#preflight 63e4c1a1797b029c0ab0a859

[CL 24094274 by Martin Ridgers in ue5-main branch]
2023-02-09 04:55:16 -05:00
Wojciech Krywult
0d6fe82a54 Build: Symbol Server: Downgraded a warning about a PDB being larger than 4GB to an information log.
This message should really be a warning, but given we have no way of fixing it (it's a limitation of pdbstr.exe tool from Windows SDK) there's not much use of having it as it just prevents our build machines from being green.

#preflight 637cefac8b12eb83a7cb824c
#rb none
#rnx

[CL 23237341 by Wojciech Krywult in ue5-main branch]
2022-11-22 11:56:08 -05:00
Wojciech Krywult
887bdc1480 Build: Symbol Server: Downgraded failure to add source indexing to a pdb from a breaking exception to a log message (Windows-based platforms).
PdbStr.exe tool that is used to add source information to .pdb can't handle large (> 4 BG) symbol files and there isn't much we can do about it. Some of our builds produce such symbols which leads to whole build tasks being failed (and symbols not being stored at all).

I tried to predice such cases by checking the size of .pdb before trying to invoke PdbStr.exe and it works in some cases, but apparently it's not precise enough because we have cases in our build farm which pass my check but fail later on when PdbStr.exe is started.

#preflight 63756b4832484253059d8856
#rb none
#rnx

[CL 23164999 by Wojciech Krywult in ue5-main branch]
2022-11-16 18:16:47 -05:00
Wojciech Krywult
74cdb44436 Build: Symbol Server: Added support for source server (source code indexing) for consoles.
Source code indexing allows Visual Studio to automatically fetch the right source code files from Perforce when debugging builds/crashdumps.

Previously, we had this functionality available only on Windows in the form of SrcSrv build task (build graph). This task takes generated pdbs and embeds information about the source code used into them. However, this functionality doesn't translate well into similar features on other platforms.

Resolved by extending SymStore task to handle source indexing in additional to uploading symbols to the symbol store. SrcSrv remains functional, but it still works only on Windows. For this reason, SymStore becomes the preferred solution as it's more general.

Fixed a few additional problems, both in the task itself and our game's build graph.

#preflight 63727a48ee4d25f90ace140b
#rb Robert.Millar
#jira UE-70463

[CL 23123619 by Wojciech Krywult in ue5-main branch]
2022-11-14 14:37:48 -05:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00