Commit Graph

17 Commits

Author SHA1 Message Date
Tim Smith
95cfad4fba Fixed issue where compling script modules in UAT where all modules were up-to-date would result in extra assemblies being returned.
#rb jonathan.adanczewski
#preflight 623b528410251d53d586be7a

[CL 19481506 by Tim Smith in ue5-main branch]
2022-03-23 13:19:20 -04:00
Tim Smith
76b3f0f74a Undo //UE5/Main/Engine/Source/Programs/... changelist 19477828
#preflight skip
#rnx

[CL 19477910 by Tim Smith in ue5-main branch]
2022-03-23 08:30:01 -04:00
Tim Smith
40be3125a0 Moved C# project build support from UAT to EpicGames.Build. Isolated code referencing Microsoft.Build into a dll to avoid any issues calling Assembly.GetTypes(). In prior code, it would attempt to resolve the types for things using Microsoft.Build.Framework and fail to load it. By resolving that issue, any future changes to UBT that will utilize this code will not result in any build/target scripts needing to be modified if they use Assembly.GetTypes().
#rnx
#rb jonathan.adamczewski
#preflight 623b0e64c73745c600b8e626

[CL 19477828 by Tim Smith in ue5-main branch]
2022-03-23 08:17:23 -04:00
Josh Adams
76787c449e - Fixed some dependency checking in RunUAT's CompileScripts - the code that checks for all automation modules to be up to date was checking against a list of valid modules that included more than the automation modules, so the numeric comparison was incorrect - usually would force a compile even when nothing changed, and sometimes would fail to compile when code did change.
#jira none
#rb tim.smith
#preflight 6238a1e6ec68595f3b792d7b

[CL 19453180 by Josh Adams in ue5-main branch]
2022-03-21 12:25:05 -04:00
eric mcdaniel
ecdc2021ea Fix for error handling on failed parse of build record file
#rb David.Harvey
#jira UE-143960
#preflight 621ccfaf6e5ae46efd43ccff

[CL 19172675 by eric mcdaniel in ue5-main branch]
2022-02-28 08:47:21 -05:00
jonathan adamczewski
2bafd89add AutomationTool: Validate the existence of Automation.{csproj,json} targets only
The default build behavior for script assemblies is that their dependencies are copied to the same output dir - assume dependencies are present (if not, it's a packaging problem, and will error later when the assembly load fails)

#jira UE-138692
#preflight 61f086f6ff453b751b4a48ad

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18730173 in //UE5/Release-5.0/... via CL 18730183 via CL 18730249
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18730253 by jonathan adamczewski in ue5-main branch]
2022-01-25 18:45:01 -05:00
jonathan adamczewski
84fbd3c317 AutomationTool: For installed tools, check for shared dlls in the AutomationTool binary directory
#jira UE-138692
#preflight 61e74adb843acf1b240c5988

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18651400 in //UE5/Release-5.0/... via CL 18651421 via CL 18651441
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18651507 by jonathan adamczewski in ue5-main branch]
2022-01-18 18:34:14 -05:00
jonathan adamczewski
08c93e8e52 AutomationTool: More vigorously validate build records before attempting to load script modules
#jira UE-138732
#jira UE-138825
#jira UE-138692
#preflight 61df5c356a16a18acf89b059

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18592399 in //UE5/Release-5.0/... via CL 18592427 via CL 18592430
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18592439 by jonathan adamczewski in ue5-main branch]
2022-01-12 19:32:49 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
jonathan adamczewski
df26ae8b9d AutomationTool:
Re-add -NoCompile to prevent compilation of AutomationTool or script modules

#jira none

#ROBOMERGE-SOURCE: CL 17403069 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17403078 by jonathan adamczewski in ue5-release-engine-test branch]
2021-09-02 10:33:56 -04:00
jonathan adamczewski
78c6821f12 AutomationUtils:
PS4 automation script is not able to be built on Linux - prevent the attempt.

#jira UE-115989

#ROBOMERGE-SOURCE: CL 17328611 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17328642 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-26 20:15:24 -04:00
nick darnell
bc8fdcbc5c AutomationTool - Logging out where the log file is when telling people to check the log file.
Andrew.Grant

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

[CL 17206189 by nick darnell in ue5-release-engine-test branch]
2021-08-17 17:21:32 -04:00
jonathan adamczewski
0251327c75 AutomationTool BuildAllScriptPlugins():
Clean up error text a little and add information so that when a project file fails to load it is easier to see who/what caused the project to load.

#jira none
#rb none

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

[CL 17143288 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-11 17:54:57 -04:00
jonathan adamczewski
267e840d27 AutomationTool:
When compiling script modules, log additional information if a project fails to load.
Correct path case for command line arguments

#jira none
#rb none

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

[CL 17126384 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-10 18:29:29 -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