Commit Graph

112 Commits

Author SHA1 Message Date
jonathan adamczewski
fda6a0dac3 AutomationTool:
Update references to DotNETCommon/MetaData.cs to Shared/MetaData.cs

#jira none
#rb none
#trivial

#ROBOMERGE-SOURCE: CL 17119587 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17119615 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-10 13:35:31 -04:00
jonathan adamczewski
f270855eef AutomationTool: Compile script modules within the application
Add a layer of caching to avoid running msbuild as much as possible.

#jira UE-109181
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 17102399 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17102408 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-09 10:39:35 -04:00
jonathan adamczewski
64c210d294 AutomationTool, BuildUtilities:
UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

#ROBOMERGE-SOURCE: CL 16648181 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16648203 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-11 18:21:35 -04:00
jonathan adamczewski
3d5833e02f Add a common C# method for detecting the current host platform to EpicGames.Core, and move many a test to use that code.
#jira none
#rb joe.kirchoff

#ROBOMERGE-SOURCE: CL 16593582 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16593589 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-08 17:01:47 -04:00
Ben Marsh
c8b5181f77 Include entire Engine/Binaries/DotNET/AutomationTool folder in UAT build products.
#rb none
#rnx

[CL 14962789 by Ben Marsh in ue5-main branch]
2020-12-22 09:58:39 -04:00
Ben Marsh
7d1c61be8c Remove reference to DotNETUtilities from AddUBTAndUATFilesToBuildProducts().
#rb none
#rnx

[CL 14962131 by Ben Marsh in ue5-main branch]
2020-12-21 23:35:04 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00
Joakim Lindqvist
e7039d3d35 UBT and UAT now use .NET Core instead of Framework and Mono. This means that we use the same runtime on Windows, Linux and Mac. Further benefits including newer C# features and a lot of intresting features for the future around AOT and Tiered compilation.
Some behavior changes:
Output paths - Both tools are now output to a subdirectory of Binaries/Dotnet, I believe most hardcoded paths have been fixed up but there may be tools that will fail because of this.
UAT Plugin Building - As .NET Core does not support AppDomain unloading, how we build the plugins has changed quite a bit, these are now built before UAT is started rather then by UAT itself. If you just start UAT via RunUAT.bat/sh this should just continue to work.

#rb ben.marsh

[CL 14834347 by Joakim Lindqvist in ue5-main branch]
2020-12-02 06:57:13 -04:00
Joakim Lindqvist
4a3312078d -Compile for UAT is now handled by the batchfiles rather then inside UAT itself when running netcore version (as netcore does not support shadow copy so we can not update the assemblies we are running)
Also removed usages of automationtool launcher in netcore as we no longer need it.

#rb ben.marsh
#jira UE-102151

[CL 14663048 by Joakim Lindqvist in ue5-main branch]
2020-11-05 09:07:32 -04:00
Joakim Lindqvist
8c6c3cd9c2 UAT - Converted from system.web to use our json serialization (fastJson) and removed references to system.web that were not used.
This because we do not need this added dependency and it is not available by default in net core.

#rb ben.marsh

[CL 14572295 by Joakim Lindqvist in ue5-main branch]
2020-10-26 06:06:36 -04:00
Ben Marsh
486408b1a9 Rename UE5Editor to UnrealEditor.
#rb none
#jira UE-97600

[CL 14292067 by Ben Marsh in ue5-main branch]
2020-09-10 15:39:00 -04:00
Ben Marsh
be7034ec27 Rename UE4Editor to UE5Editor, and generated solution/projects from UE4 -> UE5.
UE4Game/Client/Server targets left intact for the time being.

#rb none

[CL 14288076 by Ben Marsh in ue5-main branch]
2020-09-10 09:10:30 -04:00
Josh Adams
451447d7f1 - Removed MobileDeviceInterface.dll from AddUATFilesToBuildProducts ()
#rb ben.marsh

[CL 13815898 by Josh Adams in ue5-main branch]
2020-07-01 15:34:00 -04:00
Josh Adams
ab4a48f566 - Moved UEBuildPlatformSDK into a separate DLL, BuildUtilities (similar to DotNETUtilities), allowing for better sharing of code between UBT and UAT (Turnkey in particular)
- Refactored SDK versioning into more formalized APIs for all platforms. Currently UBT will not error with bad versions, but that is coming.
- Turnkey updated to use new BuildUtilities
#rb ben.marsh

[CL 13733158 by Josh Adams in ue5-main branch]
2020-06-22 14:32:25 -04:00
josh adams
13bc36c98d Moving Binaries and Build NotForLicensees files around
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 12740027 via CL 12740029 via CL 12740030
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v676-12543919)

[CL 12740031 by josh adams in Main branch]
2020-04-11 08:47:06 -04:00
ben marsh
08c02ecb9f Fix enumeration of UAT build products.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 11617356 in //UE4/Release-4.25/... via CL 11617364
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v655-11596533)

[CL 11617405 by ben marsh in Main branch]
2020-02-25 15:56:58 -05:00
ben marsh
b70585fdb2 Use original location when determining which files to copy for UAT.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 11616044 in //UE4/Release-4.25/... via CL 11616069
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v655-11596533)

[CL 11616089 by ben marsh in Main branch]
2020-02-25 15:18:42 -05:00
ben marsh
373a31ef12 Fix copying of automation DLLs to output directory. Now may exist within any subfolders.
#rb none
#rnx
#jira UE-89493

#ROBOMERGE-SOURCE: CL 11611464 in //UE4/Release-4.25/... via CL 11611544
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v655-11596533)

[CL 11611575 by ben marsh in Main branch]
2020-02-25 14:13:08 -05:00
andrew grant
03617b67df Integrated scripts for doing simple benchmarking of build steps from Private-Profiling.
Also includes -noshaderddc option for emulating a cold DDC for shaders only.


#rb na
#ROBOMERGE-OWNER: andrew.grant
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 11519411 via CL 11519529 via CL 11519553
#ROBOMERGE-BOT: (v654-11333218)

[CL 11524747 by andrew grant in Main branch]
2020-02-18 17:19:54 -05:00
Ryan Durand
9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00
ben marsh
2c90ac5090 Fix assets created with 4.24.1 builds not being compatible with 4.24.0 release.
CompatibleChangelist number was being overridden as part of the build process due to CL 9823639. The desired effect here was to ensure that Epic's compatible changelist number was cleared out for licensee builds; instead of just forcing it to be set, we clear it out if we're changing the licensee flag.

#jira UE-85874
#rb none

#ROBOMERGE-SOURCE: CL 10727491 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v610-10636431)

[CL 10727503 by ben marsh in Main branch]
2019-12-14 10:23:19 -05:00
ben marsh
73baa9265b UAT: Propagate the XGE autorecover attribute when building through UAT.
#rb none
#rnx
#jira UE-77952

#ROBOMERGE-SOURCE: CL 7706876 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v384-7690951)

[CL 7706877 by ben marsh in Main branch]
2019-08-02 11:04:49 -04:00
andrew grant
9955926d69 Added string formatting to BuildTarget
Added ability for Help() markup in build script to span multiple lines



#ROBOMERGE-SOURCE: CL 7464352 via CL 7465048 via CL 7470081
#ROBOMERGE-BOT: (v371-7306989)

[CL 7470221 by andrew grant in Main branch]
2019-07-20 11:18:27 -04:00
andrew grant
8f3494794c Updated SyncedProject script with some minor QOL improvements
- Added help documentation
 - Added list of files that should be clobbered to avoid workspace settings
 - Use helper to autodetect project path if a full path is not specified
 - Added skipbuild option
 - Added preview option
 - Added parallel sync (defaults to 2: 30% faster on internal network)
 - Added option to force sync
 - Added option to sync explicit paths (last two are for writable files)
 - Fix issue if buildinfo file is missing

#rb ben.marsh
[CODEREVIEW] ben.marsh


#ROBOMERGE-SOURCE: CL 7293946 via CL 7293951 via CL 7293954 via CL 7293958 via CL 7308957
#ROBOMERGE-BOT: (v371-7306989)

[CL 7316114 by andrew grant in Main branch]
2019-07-15 20:51:57 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00