Setting up a Windows build machine consists of a few steps:
1. Install the Unreal Engine
1. Install \"Substance in Unreal Engine\" via the Unreal Engine Marketplace
2. Install MinGW or equivalent to get `envsubst` command
3. Install the gitlab runner service and register a gitlab runner. Prefereably a shared runner. Use executor `shell`. Use the tags `windows` and `unreal-4.21`(replace version number) for the runner. Make sure to specify a user for the `gitlab-runner install` call, such that the service is not running as admin afterwards.
3. Install git
1. Install git-lfs (Large File Storage)
4. Install the gitlab runner service and register a gitlab runner. Prefereably a shared runner. Use executor `shell`. Use the tags `windows` and `unreal-4.21`(replace version number) for the runner. Make sure to specify a user for the `gitlab-runner install` call, such that the service is not running as admin afterwards.
4. Configure the gitlab runner. For this open the config.toml file and add the following lines (change path to unreal engine folder):