... | @@ -8,6 +8,7 @@ Setting up a Windows build machine consists of a few steps: |
... | @@ -8,6 +8,7 @@ Setting up a Windows build machine consists of a few steps: |
|
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. 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):
|
|
4. Configure the gitlab runner. For this open the config.toml file and add the following lines (change path to unreal engine folder):
|
|
```
|
|
```
|
|
|
|
builds_dir = "D:/SomeFolder/Where/Builds/Are/Stored"
|
|
executor = "shell"
|
|
executor = "shell"
|
|
environment = ["UE_ENGINE_FOLDER=F:/UnrealEngine/UE_4.21/Engine", "ADDITIONAL_LOGS=F:/UnrealEngine/UE_4.21/Engine/Programs/AutomationTool/Saved/Logs"]
|
|
environment = ["UE_ENGINE_FOLDER=F:/UnrealEngine/UE_4.21/Engine", "ADDITIONAL_LOGS=F:/UnrealEngine/UE_4.21/Engine/Programs/AutomationTool/Saved/Logs"]
|
|
shell = "powershell"
|
|
shell = "powershell"
|
... | @@ -42,6 +43,7 @@ cp -r UnrealEngine/ RocketBuild/ |
... | @@ -42,6 +43,7 @@ cp -r UnrealEngine/ RocketBuild/ |
|
10. Register a gitlab-runner. Preferably a shared runner. Use executor `shell`. Use the tags `centos` and `unreal-4.21` (replace version) for your runner.
|
|
10. Register a gitlab-runner. Preferably a shared runner. Use executor `shell`. Use the tags `centos` and `unreal-4.21` (replace version) for your runner.
|
|
11. 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, keep the log folder and change the clang path to your local clang version
|
|
11. 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, keep the log folder and change the clang path to your local clang version
|
|
```
|
|
```
|
|
|
|
builds_dir = "/home/Some/Folder/Where/Builds/Are/Stored"
|
|
environment = ["UE_ENGINE_FOLDER=/home/gitlab-runner/dev/Unreal_4_21/Rocket/Engine/Linux/Engine", "ADDITIONAL_LOGS=/home/gitlab-runner/Library/Logs/Unreal Engine/LocalBuildLogs" ,"PREPEND_PATH=/home/gitlab-runner/dev/clang6/bin"]
|
|
environment = ["UE_ENGINE_FOLDER=/home/gitlab-runner/dev/Unreal_4_21/Rocket/Engine/Linux/Engine", "ADDITIONAL_LOGS=/home/gitlab-runner/Library/Logs/Unreal Engine/LocalBuildLogs" ,"PREPEND_PATH=/home/gitlab-runner/dev/clang6/bin"]
|
|
```
|
|
```
|
|
12. Start/Restart the gitlab runner service
|
|
12. Start/Restart the gitlab runner service
|
... | | ... | |