Update Setting up Build Machines authored by Sebastian Pape's avatar Sebastian Pape
# Windows Build Machines
Setting up a Windows build machine consists of a few steps:
1. Install the Unreal Engine
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.
4. Configure the gitlab runner. For this open the config.toml file and add the following lines (change path to unreal engine folder):
2. Follow [these instructions](https://answers.unrealengine.com/questions/112733/how-to-move-derived-data-cache-folder.html#answer-552735) to set the derived-data-cache directory to the build directory
3. Install MinGW or equivalent to get `envsubst` command
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.
5. Configure the gitlab runner. For this open the config.toml file and add the following lines (change path to unreal engine folder):
```
executor = "shell"
environment = ["UE_ENGINE_FOLDER=F:/UnrealEngine/UE_4.21/Engine"]
shell = "powershell"
```
5. Start/Restart the gitlab runner service
6. Start/Restart the gitlab runner service
---
......@@ -29,12 +30,13 @@ rm -rf ./nDisplay/.git
```
./Setup.sh && ./GenerateProjectFiles.sh && make
```
7. Register a gitlab-runner. Preferably a shared runner. Use executor `shell`. Use the tags `centos` and `unreal-4.21` (replace version) for your runner.
8. Configure this runner by adding the following lines to the config.toml (locate it by gitlab-runner verify) and replace the path with your engine installation
7. Follow [these instructions](https://answers.unrealengine.com/questions/112733/how-to-move-derived-data-cache-folder.html#answer-552735) to set the derived-data-cache directory to the build directory
8. Register a gitlab-runner. Preferably a shared runner. Use executor `shell`. Use the tags `centos` and `unreal-4.21` (replace version) for your runner.
9. Configure this runner by adding the following lines to the config.toml (locate it by gitlab-runner verify) and replace the path with your engine installation
```
environment = ["UE_ENGINE_FOLDER=/home/gitlab-runner/dev/Unreal_4_21/UnrealEngine/Engine"]
```
9. Start/Restart the gitlab runner service
10. Start/Restart the gitlab runner service
---
......
......