unreal-rust icon indicating copy to clipboard operation
unreal-rust copied to clipboard

Setup a CI

Open MaikKlein opened this issue 3 years ago • 2 comments

We need a ci that builds and tests

  • [x] All of the rust crates in this repo

We need an CI for unreal.

  • Cross compile on Windows and Linux
  • Lints: clang-tidy, clang format, and more
  • Package examples for Windows and Linux

Github actions: Actions doesn't seem to be capable of running the docker images for unreal. Neither the standard nor the slim image seem to work and both run out of diskspace.

Maybe we can set up our own server for this? I'd be happy for some advice here.

MaikKlein avatar Jan 16 '22 15:01 MaikKlein

@MaikKlein I'm far from a CI expert but from a little googling I think the easiest solution would be using a larger GitHub-hosted runner. The only downside is that you need GitHub Team ($44/year) but I don't think you're going to be able to run something as big as Unreal for free anywhere without hosting your own server.

https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners#machine-specs-for-larger-runners

CollinEMac avatar Nov 16 '22 20:11 CollinEMac

Thanks I didn't know that there were large runners for github. I'll give it a shot. I was also looking into other solutions like https://circleci.com/blog/optimize-unreal-engine-builds/ but that's definitely a bit of a hassle.

MaikKlein avatar Nov 16 '22 21:11 MaikKlein