Skip to content
Snippets Groups Projects
Select Git revision
  • 8bdf00c6844254090b23dba8f3176c807307f5f5
  • master default protected
  • feature/old_version_cleanup
3 results

unreal-ci

  • Clone with SSH
  • Clone with HTTPS
  • Sebastian Pape's avatar
    Sebastian Pape authored
    Feature/plugin pipeline setup
    
    See merge request VR-Group/unreal-development/unreal-ci!25
    8bdf00c6
    History

    GitLab CI Unreal Files

    In this repository the shared scripts, the launcher meta data file and two sample .gitlab-ci.yml files are stored. If you just want an automatic compile and deploy of your project to the CAVE and the VRDev network drive, copy the project.gitlab-ci.yml and launcher.meta to your projects root, rename project.gitlab-ci.yml to .gitlab-ci.yml and set up a scheduled build in the project preferences. If you need more information, have a look into the wiki here!

    graph LR
        subgraph "Git"
        proj_git(Project)
        plug_git(Plugin)
        end
    
        subgraph "Preparation"
        gen(Project Generation)
        end
    
        subgraph "Building"
        proj(("#32;"))
        build_win(Build Windows)
        build_lnx(Build Linux)
        deploy_win(Deploy VRDev)
        deploy_lnx(Deploy CAVE)
        end
    
        proj_git --> proj
        proj --> build_win
        proj --> build_lnx
        plug_git --> gen
        gen --> proj
        build_win --> deploy_win
        build_lnx --> deploy_lnx
    

    Standalone Plugin Compilation

    If you want to compile your plugin without giving a project to go with it, copy the plugins.gitlab-ci.yml and launcher.meta to to your projects root and rename plugins.gitlab-ci.yml to .gitlab-ci.yml.

    Specific for these Plugins the Generation Stage is provided, which generates a project and adds your plugin and its dependencies to it. For this step, have a look at the .gitlab-ci.yml and read the documentation there.

    Customization

    In the .gitlab-ci.yml references to the shared scripts of this repository are defined. If you need to change something of the premade pipeline, have a look into this file. You can alter/remove the stages and add extra jobs per stage. Predefined stages are at the moment the

    .Generate_Project_, .Build_Windows_, .Build_CentOS_, .Deploy_VRDev_, .Deploy_CAVE_

    stages, which are referenced by the ones in the sample files. If you dont need specific jobs, for example a Linux build, then please consider to comment out the jobs in your local file to speed up the pipeline.

    Build Steps

    For the predefined build steps you can change the CLIENT_CONFIG to either DebugGame or Shipping (Default). Additionally, you can add parameters to the build command by specifying the EXTRA_ARGS variable. If you need to change the whole command, manually "fork" the job by copying the script part to your local file and removing the extends line.

    Deploy Steps

    The predefined deploy steps are a bit more tricky to alter. So just try not to. The two predefined deploy stages are automatically deploying the builds (if successful) to either /home/av006de/demos_UNREAL/CI (CAVE, CentOS) or /home/vrdev/UnrealCIDeploy (VRDev, Win64).


    Setting up additional build machines

    Have a look into the wiki of this project here