Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for building packages to git #49

Closed
ianare opened this issue Nov 18, 2024 · 8 comments · Fixed by #55
Closed

Add instructions for building packages to git #49

ianare opened this issue Nov 18, 2024 · 8 comments · Fixed by #55
Labels
enhancement New feature or request

Comments

@ianare
Copy link
Contributor

ianare commented Nov 18, 2024

Hi,

Would it be possible to add the build instructions for the release assets (Blocks, plugin) directly in git?

Even better if using GitHub actions, as this would allow anyone to reproduce a build in their forked repo.

I would like to help with this, but not sure where to start.

Thanks!

@WouterJansen
Copy link
Contributor

Hi, automated builds with actions or any other CI/CD pipelines are not likely at this point as I don't have the time or resources to set it up. Unless somebody else is willing to do so of course.

The Blocks project I package manually on my workstation machines with the Editor itself through the GUI to create a packaged build. I choose Development as build format.

For building the plugin, I use the build scripts of Unreal, for example on Windows I use:

./RunUAT.bat BuildPlugin -Plugin=....\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\AirSim.uplugin -Package=...\airsimpluginpackagewin -Rocket -TargetPlatforms=Win64

On Linux I use:

sudo ./RunUAT.sh BuildPlugin -Plugin=.../Cosys-AirSim/Unreal/Environments/Blocks/Plugins/AirSim/AirSim.uplugin -Package=.../airsimpluginpackagelinux -Rocket -TargetPlatforms=Linux

I can add these somewhere in the documentation perhaps?

@WouterJansen WouterJansen added the enhancement New feature or request label Nov 19, 2024
@ianare
Copy link
Contributor Author

ianare commented Nov 22, 2024

Yes, it could be useful to have this documented somewhere.

I'll look into adding an automated build for the plugin.

Thanks

@ianare
Copy link
Contributor Author

ianare commented Nov 26, 2024

I'm not seeing the ./RunUAT.sh file in the repo, or am I missing something?

@WouterJansen
Copy link
Contributor

Sorry for the confusion. These are Unreal Engine build scripts found in your installation folder of Unreal Engine in the subfolder \Engine\Build\BatchFiles

@WouterJansen WouterJansen linked a pull request Nov 28, 2024 that will close this issue
@ianare
Copy link
Contributor Author

ianare commented Nov 28, 2024

Looking into this a bit more, it's not easy to automate in Github, especially with the free tier.

The problem is due to licensing of UE and storage limitations on Github.

It would be great to have the instructions in the documentation though.

@WouterJansen
Copy link
Contributor

WouterJansen commented Nov 29, 2024

I will definitly add the instructions in a future update. I am concidering making a self-hosted github runner with UnrealEngine installed to make automated build on perhaps a weekly basis or so or when pull requests are in need of it. But need to make some other choices first as well as for example which Unreal versions to support long-term etc.

@ianare
Copy link
Contributor Author

ianare commented Nov 29, 2024

Yes automated builds would be great, and a time saver for you in the long run...

Regarding version support, I saw that recent changes to main breaks compilation on UE 5.4, not a problem per se but probably should be noted/documented somewhere.

WouterJansen added a commit that referenced this issue Nov 29, 2024
@WouterJansen
Copy link
Contributor

Main is the development branch and is currently supporting 5.5, see the new 5.4 branch for this one.

WouterJansen added a commit that referenced this issue Nov 29, 2024
WouterJansen added a commit that referenced this issue Nov 29, 2024
WouterJansen added a commit that referenced this issue Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

2 participants