You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
112 lines
8.6 KiB
XML
112 lines
8.6 KiB
XML
<?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"/>
|
|
|
|
<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"/>
|
|
<Option Name="IncludeInstaller" DefaultValue="false" Description="Whether to include the launcher installer in the regular client distribution"/>
|
|
<Option Name="HordeSettings" DefaultValue="" Description="Path to a JSON file containing settings for publishing to Horde"/>
|
|
|
|
<Property Name="UgsDir" Value="$(RootDir)/Engine/Source/Programs/UnrealGameSync"/>
|
|
<Property Name="UgsOutputDir" Value="$(RootDir)/LocalBuilds/UnrealGameSync"/>
|
|
<Property Name="UgsZipOutputDir" Value="$(RootDir)/LocalBuilds/UnrealGameSyncZip"/>
|
|
<Property Name="UgsCmdOutputDir" Value="$(RootDir)/LocalBuilds/UnrealGameSyncCmd"/>
|
|
<Property Name="UgsCmdMacZipFile" Value="$(UgsCmdOutputDir)/ugs-mac.zip"/>
|
|
<Property Name="UgsCmdMacOutputDir" Value="$(UgsCmdOutputDir)/Mac"/>
|
|
<Property Name="UgsCmdLinuxZipFile" Value="$(UgsCmdOutputDir)/ugs-linux.zip"/>
|
|
<Property Name="UgsCmdLinuxOutputDir" Value="$(UgsCmdOutputDir)/Linux"/>
|
|
<Property Name="WixDir" Value="$(RootDir)/Engine/Source/ThirdParty/WiX/3.8"/>
|
|
|
|
<Property Name="Version" Value="$(EngineMajorVersion).$(EngineMinorVersion).$(EnginePatchVersion)"/>
|
|
<Property Name="InformationalVersion" Value="$(EscapedBranch)-CL-$(Change)"/>
|
|
<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">
|
|
<Property Name="InstallerDir" Value="$(RootDir)/Engine/Source/Programs/UnrealGameSync/Installer"/>
|
|
<Property Name="InstallerZip" Value="$(RootDir)/LocalBuilds/UnrealGameSyncInstaller/ugs-installer.zip"/>
|
|
|
|
<Property Name="UgsPublishDir" Value="$(UgsOutputDir)"/>
|
|
<Property Name="UgsPublishDir" Value="$(UgsPublishDir)/$(SubmitPath)" If="'$(SubmitPath)' != ''"/>
|
|
|
|
<Property Name="UgsZipPublishDir" Value="$(UgsZipOutputDir)"/>
|
|
<Property Name="UgsZipPublishDir" Value="$(UgsZipPublishDir)/$(SubmitPath)" If="'$(SubmitPath)' != ''"/>
|
|
|
|
<Node Name="Build UnrealGameSync Installer">
|
|
<Property Name="WixDir" Value="$(RootDir)/Engine/Source/ThirdParty/WiX/3.8"/>
|
|
<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)" --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="$(InstallerDir)"/>
|
|
<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="$(InstallerDir)"/>
|
|
<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="$(InstallerDir)"/>
|
|
|
|
<Zip ZipFile="$(InstallerZip)" FromDir="$(InstallerDir)/bin/Release" Files="UnrealGameSync.msi"/>
|
|
</Node>
|
|
<Node Name="Publish UnrealGameSync Installer" Requires="Build UnrealGameSync Installer">
|
|
<Error Message="Missing -HordeSettings=... argument" If="'$(HordeSettings)' == ''"/>
|
|
<DeployTool Id="ugs" Version="$(InformationalVersion)" Settings="$(HordeSettings)" File="$(InstallerZip)"/>
|
|
</Node>
|
|
|
|
<Property Name="InstallerDependency" Value=""/>
|
|
<Property Name="InstallerDependency" Value="Build UnrealGameSync Installer" If="$(IncludeInstaller)"/>
|
|
|
|
<Node Name="Build UnrealGameSync" Requires="$(InstallerDependency)">
|
|
<Delete Files="$(UgsOutputDir)/..."/>
|
|
<DotNet Arguments="publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsPublishDir)" --no-self-contained -c Release -r osx-x64 $(VersionArguments)"/>
|
|
<DotNet Arguments="publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsPublishDir)" --no-self-contained -c Release -r linux-x64 $(VersionArguments)"/>
|
|
<DotNet Arguments="publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsPublishDir)" --self-contained -c Release -r win-x64 $(VersionArguments)"/>
|
|
<DotNet Arguments="publish "$(UgsDir)/UnrealGameSync/UnrealGameSync.csproj" --output="$(UgsPublishDir)" --self-contained -c Release -r win-x64 $(VersionArguments)"/>
|
|
<Copy From="$(InstallerDir)/bin/Release/UnrealGameSync.msi" To="$(UgsPublishDir)/UnrealGameSync.msi" If="$(IncludeInstaller)"/>
|
|
</Node>
|
|
<Node Name="Publish Unstable" Requires="Build UnrealGameSync">
|
|
<Property Name="UnstableBranch" Value="" />
|
|
<Property Name="UnstableBranch" Value="$(SubmitToBranch)/UnstableRelease" If="'$(SubmitToBranch)' != ''" />
|
|
|
|
<Submit Description="Updating UGS from CL $(Change)" Workspace="Temp" Files="$(UgsPublishDir)/..." RootDir="$(UgsOutputDir)" Stream="$(SubmitToStream)" Branch="$(UnstableBranch)"/>
|
|
</Node>
|
|
<Node Name="Publish Unstable Zip" Requires="Build UnrealGameSync">
|
|
<Zip FromDir="$(UgsOutputDir)" ZipFile="$(UgsZipPublishDir)/UnstableRelease.zip"/>
|
|
<Submit Description="Updating UGS from CL $(Change) (Zip)" Workspace="Temp" Files="$(UgsZipPublishDir)/UnstableRelease.zip" RootDir="$(UgsZipOutputDir)" Stream="$(SubmitToStream)" Branch="$(SubmitToBranch)"/>
|
|
</Node>
|
|
<Node Name="Publish Live" Requires="Build UnrealGameSync">
|
|
<Property Name="ReleaseBranch" Value="" />
|
|
<Property Name="ReleaseBranch" Value="$(SubmitToBranch)/Release" If="'$(SubmitToBranch)' != ''" />
|
|
|
|
<Submit Description="Updating UGS from CL $(Change)" Workspace="Temp" Files="$(UgsPublishDir)/..." RootDir="$(UgsOutputDir)" Stream="$(SubmitToStream)" Branch="$(ReleaseBranch)"/>
|
|
</Node>
|
|
<Node Name="Publish Live Zip" Requires="Build UnrealGameSync">
|
|
<Zip FromDir="$(UgsOutputDir)" ZipFile="$(UgsZipPublishDir)/Release.zip"/>
|
|
<Submit Description="Updating UGS from CL $(Change) (Zip)" Workspace="Temp" Files="$(UgsZipPublishDir)/Release.zip" RootDir="$(UgsZipOutputDir)" Stream="$(SubmitToStream)" Branch="$(SubmitToBranch)"/>
|
|
</Node>
|
|
|
|
<Node Name="Build UnrealGameSyncCmd Mac">
|
|
<Delete Files="$(UgsCmdMacOutputDir)/..."/>
|
|
<DotNet Arguments="publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsCmdMacOutputDir)" --self-contained -c Release -r osx-x64 $(VersionArguments)"/>
|
|
<Zip ZipFile="$(UgsCmdMacZipFile)" FromDir="$(UgsCmdMacOutputDir)" ExecutableFiles="ugs;*.dylib;*.sh"/>
|
|
</Node>
|
|
<Node Name="Publish UnrealGameSyncCmd Mac" Requires="Build UnrealGameSyncCmd Mac">
|
|
<Error Message="Missing -HordeSettings=... argument" If="'$(HordeSettings)' == ''"/>
|
|
<DeployTool Id="ugs-mac" Version="$(InformationalVersion)" Settings="$(HordeSettings)" File="$(UgsCmdMacZipFile)"/>
|
|
</Node>
|
|
|
|
<Node Name="Build UnrealGameSyncCmd Linux">
|
|
<Delete Files="$(UgsCmdLinuxOutputDir)/..."/>
|
|
<DotNet Arguments="publish "$(UgsDir)/UnrealGameSyncCmd/UnrealGameSyncCmd.csproj" --output="$(UgsCmdLinuxOutputDir)" --self-contained -c Release -r linux-x64 $(VersionArguments)"/>
|
|
<Zip ZipFile="$(UgsCmdLinuxZipFile)" FromDir="$(UgsCmdLinuxOutputDir)" ExecutableFiles="ugs;*.so;*.sh"/>
|
|
</Node>
|
|
<Node Name="Publish UnrealGameSyncCmd Linux" Requires="Build UnrealGameSyncCmd Linux">
|
|
<Error Message="Missing -HordeSettings=... argument" If="'$(HordeSettings)' == ''"/>
|
|
<DeployTool Id="ugs-linux" Version="$(InformationalVersion)" Settings="$(HordeSettings)" File="$(UgsCmdLinuxZipFile)"/>
|
|
</Node>
|
|
</Agent>
|
|
|
|
<Aggregate Name="Publish Unstable With Zip" Requires="Publish Unstable;Publish Unstable Zip"/>
|
|
<Aggregate Name="Publish Live With Zip" Requires="Publish Live;Publish Live Zip"/>
|
|
|
|
</BuildGraph>
|