2021-06-10 19:24:58 -04:00
<?xml version='1.0' ?>
<BuildGraph xmlns= "http://www.epicgames.com/BuildGraph" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://www.epicgames.com/BuildGraph ../../../Build/Graph/Schema.xsd" >
<Option Name= "PreflightChange" DefaultValue= "" Description= "Preflight changelist number" />
2021-06-10 21:40:41 -04:00
<Option Name= "SubmitToStream" DefaultValue= "" Description= "Stream to submit binaries to" />
<Option Name= "SubmitToBranch" DefaultValue= "" Description= "Branch to submit binaries to" />
<Option Name= "SubmitPath" DefaultValue= "" Description= "Relative path within the stream/branch to submit binaries" />
2021-06-10 19:24:58 -04:00
<Property Name= "UgsDir" Value= "$(RootDir)/Engine/Source/Programs/UnrealGameSync" />
<Property Name= "UgsOutputDir" Value= "$(RootDir)/LocalBuilds/UnrealGameSync" />
<Property Name= "WixDir" Value= "$(RootDir)/Engine/Source/ThirdParty/WiX/3.8" />
<Property Name= "Version" Value= "$(EngineMajorVersion).$(EngineMinorVersion).$(EnginePatchVersion)" />
2021-06-10 21:40:41 -04:00
<Property Name= "InformationalVersion" Value= "$(EscapedBranch)-CL-$(Change)" />
2021-06-10 19:24:58 -04:00
<Property Name= "InformationalVersion" Value= "$(InformationalVersion)-PF-$(PreflightChange)" If= "'$(PreflightChange)' != ''" />
<Property Name= "VersionArguments" Value= "/p:Version=$(Version).0 /p:InformationalVersion=$(InformationalVersion)" />
<Agent Name= "UnrealGameSync Agent" Type= "Win64" >
2021-06-10 21:40:41 -04:00
<Property Name= "UgsPublishDir" Value= "$(UgsOutputDir)" />
<Property Name= "UgsPublishDir" Value= "$(UgsPublishDir)/$(SubmitPath)" If= "'$(SubmitPath)' != ''" />
2021-06-10 19:24:58 -04:00
<Node Name= "Build UnrealGameSync" >
<Delete Files= "$(UgsOutputDir)/..." />
2022-01-10 18:35:28 -05:00
<DotNet Arguments= "publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsPublishDir)" --no-self-contained -r win-x64 $(VersionArguments)" />
2022-01-10 18:50:40 -05:00
<DotNet Arguments= "publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsPublishDir)" --no-self-contained -r osx-x64 $(VersionArguments)" />
2022-01-10 18:35:28 -05:00
<DotNet Arguments= "publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsPublishDir)" --no-self-contained -r linux-x64 $(VersionArguments)" />
2021-06-10 21:40:41 -04:00
<DotNet Arguments= "publish "$(UgsDir)/UnrealGameSync/UnrealGameSync.csproj" --output="$(UgsPublishDir)" --no-self-contained -r win-x64 $(VersionArguments)" />
</Node>
<Node Name= "Publish Unstable" Requires= "Build UnrealGameSync" >
2021-07-15 10:40:14 -04:00
<Submit Description= "Updating UGS from CL $(Change)" Workspace= "Temp" Files= "$(UgsPublishDir)/..." RootDir= "$(UgsOutputDir)" Stream= "$(SubmitToStream)" Branch= "$(SubmitToBranch)/UnstableRelease" />
2021-06-10 21:40:41 -04:00
</Node>
<Node Name= "Publish Live" Requires= "Build UnrealGameSync" >
2021-07-15 10:40:14 -04:00
<Submit Description= "Updating UGS from CL $(Change)" Workspace= "Temp" Files= "$(UgsPublishDir)/..." RootDir= "$(UgsOutputDir)" Stream= "$(SubmitToStream)" Branch= "$(SubmitToBranch)/Release" />
2021-06-10 19:24:58 -04:00
</Node>
</Agent>
2021-11-09 11:51:37 -05:00
<Agent Name= "UnrealGameSync Installer" Type= "Win64" >
<Node Name= "Build HordeInstaller" >
<Property Name= "WixDir" Value= "$(RootDir)/Engine/Source/ThirdParty/WiX/3.8" />
<Property Name= "SourceDir" Value= "$(RootDir)/Engine/Source/Programs/UnrealGameSync/Installer" />
<Property Name= "UgsLauncherPublishDir" Value= "$(UgsDir)/UnrealGameSyncLauncher/bin/Release/netcoreapp3.1/win-x64/publish" />
<Delete Files= "$(UgsLauncherPublishDir)/..." />
<DotNet Arguments= "publish "$(UgsDir)/UnrealGameSyncLauncher/UnrealGameSyncLauncher.csproj" --output="$(UgsLauncherPublishDir)" --no-self-contained -c Release -r win-x64 $(VersionArguments)" />
<Spawn Exe= "$(WixDir)/heat.exe" Arguments= "dir "$(UgsLauncherPublishDir)" -cg UGSLauncher_Project -dr INSTALLFOLDER -scom -sreg -srd -var var.BasePath -gg -sfrag -out obj/Release/UGSLauncher.wxs" WorkingDir= "$(SourceDir)" />
<Spawn Exe= "$(WixDir)/candle.exe" Arguments= "-dBasePath="$(UgsLauncherPublishDir)" -out obj\Release\ -dConfiguration=Release -dPlatform=x64 -arch x86 -ext ..\..\..\ThirdParty\WiX\3.8\WixUtilExtension.dll Product.wxs obj/Release/UGSLauncher.wxs" WorkingDir= "$(SourceDir)" />
<Spawn Exe= "$(WixDir)/light.exe" Arguments= "-out "bin/Release/UnrealGameSync.msi" -pdbout "bin/Release/UnrealGameSync.wixpdb" -cultures:null -ext ..\..\..\ThirdParty\WiX\3.8\WixUtilExtension.dll -sice:ICE69 "obj\Release\Product.wixobj" "obj\Release\UGSLauncher.wixobj"" WorkingDir= "$(SourceDir)" />
</Node>
</Agent>
2021-06-10 19:24:58 -04:00
</BuildGraph>