All Projects → caiRanN → gitlabci-ue4

caiRanN / gitlabci-ue4

Licence: other
No description or website provided.

Programming Languages

Batchfile
5799 projects

Projects that are alternatives of or similar to gitlabci-ue4

aws-autoscaling-gitlab-runner
CloudFormation template to deploy a GitLab Runner with auto-scaling on AWS.
Stars: ✭ 44 (+37.5%)
Mutual labels:  gitlab-ci, gitlab-runner
podman-gitlab-runner
Use Podman as a custom executor for your Gitlab CI
Stars: ✭ 87 (+171.88%)
Mutual labels:  gitlab-ci, gitlab-runner
gitlabby-dockerish-laravel
What happens when you Dockerize your Laravel testing environment and throw it at Gitlab CI?
Stars: ✭ 33 (+3.13%)
Mutual labels:  gitlab-ci, gitlab-runner
gitlab-ci-android-fastlane
Docker image for building android apps on Gitlab CI
Stars: ✭ 25 (-21.87%)
Mutual labels:  gitlab-ci, gitlab-runner
gitlab-runner
Gitlab Runner on Alpine Linux [Docker]
Stars: ✭ 17 (-46.87%)
Mutual labels:  gitlab-ci, gitlab-runner
Jenkins Ue4
Automated Unreal Engine 4 Project Builds
Stars: ✭ 206 (+543.75%)
Mutual labels:  build-automation, unreal-engine-4
gitlab-ci-runner-marathon
A customized Docker image for running scalable GitLab CI runners on Marathon
Stars: ✭ 14 (-56.25%)
Mutual labels:  gitlab-ci, gitlab-runner
gitlab-chart
Kubernetes Helm chart to deploy GitLab
Stars: ✭ 59 (+84.38%)
Mutual labels:  gitlab-ci, gitlab-runner
gitlab-runner
GitLab Runner (Docker image) for ARM devices, this is a mirror repository of
Stars: ✭ 17 (-46.87%)
Mutual labels:  gitlab-ci, gitlab-runner
docker-kafka
Simple Kafka Container with embedded ZooKeeper
Stars: ✭ 13 (-59.37%)
Mutual labels:  gitlab-ci, gitlab-runner
Cargo Make
Rust task runner and build tool.
Stars: ✭ 895 (+2696.88%)
Mutual labels:  build-automation, gitlab-ci
ue4-uitween
Unreal 4 UMG UI tweening plugin in C++
Stars: ✭ 178 (+456.25%)
Mutual labels:  unreal-engine-4
Zeus
An Electrifying Build System
Stars: ✭ 176 (+450%)
Mutual labels:  build-automation
Buildhelpers
Helper functions for PowerShell CI/CD scenarios
Stars: ✭ 174 (+443.75%)
Mutual labels:  build-automation
Xrm Ci Framework
xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
Stars: ✭ 172 (+437.5%)
Mutual labels:  build-automation
bazel rules pex
Python PEX rules for Bazel
Stars: ✭ 37 (+15.63%)
Mutual labels:  build-automation
gitlab-sonar-scanner
This project is no longer maintained
Stars: ✭ 80 (+150%)
Mutual labels:  gitlab-runner
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (+434.38%)
Mutual labels:  build-automation
Fdroidserver
F-Droid server and build tools.
Stars: ✭ 156 (+387.5%)
Mutual labels:  build-automation
Formula-Student-Driverless-Simulator
A virtual world where Autonomous Systems from different Formula Student teams can compete in time-trial challenges
Stars: ✭ 144 (+350%)
Mutual labels:  unreal-engine-4

Setting up Gitlab CI Automation for Unreal Engine 4

This tutorial provides documentation and resources on how to configure Gitlab CI to compile and build your Unreal Engine 4 project.

This tutorial, repository and files are based on the great Jenkins tutorial with a few changes to the build scripts, check it out if you would like to use Jenkins instead!

Created by Cairan Steverink.


Prerequisites

Before you begin: Set up your Gitlab repository as normal and clone it to your desktop. You can go ahead and add your Unreal Engine 4 project to the repository.

Note: This documentation is solely meant to configure a Gitlab runner on Windows servers and desktops. We will configure our pipeline so that it will only archive our builds during scheduled builds and manual builds started through the Gitlab interface. This way we prevent flooding our disk space with archived builds.

Setting up the Runner

Gitlab uses runners to run the jobs defined in the .gitlab-ci.yml file (which we will create at the end of this tutorial). We will set up a Windows desktop as our runner.

Download the runner executable from Gitlab and follow the installation process described in the documentation.

Register the Runner

Now we need to register our runner. Inside your Gitlab project go to Settings -> CI/CD -> General pipelines settings and obtain the runner token.

Follow the registration progress described in the documentation but do not enter any tags when prompted. Finaly pick Shell as your executor after which we should have our runner set up.

Configure the Build Scripts

Download the build scripts and move them to another folder. For example: C:/BuildScripts/. Make sure you replace PROJECT_NAME inside the scripts with the name of your project.

Creating a Gitlab Pipeline

Once we have our runner set up we can configure our pipeline. Start by creating a .gitlab-ci.yml file inside your repository. This file tells the Gitlab runner what to do when a pipeline is triggered.

Add the following to the .gitlab-ci.yml file.

variables:
  GIT_STRATEGY: none        # we disable fetch, clone or checkout for every job
  GIT_CHECKOUT: "false"     # as we only want to checkout and fetch in the preperation stage

stages:
  - preperations
  - compile
  - build
  - cook
  - package

preperations:
  stage: preperations
  variables:
    GIT_STRATEGY: fetch
    GIT_CHECKOUT: "true"
  script:
    - call "C:\PATH_TO_FILES\StartBuild.bat"

compile:
  stage: compile
  script:
    - call "C:\PATH_TO_FILES\CompileScripts.bat"

build:
  stage: build
  script:
    - call "C:\PATH_TO_FILES\BuildFiles.bat"

cook:
  stage: cook
  script: 
    - call "C:\PATH_TO_FILES\CookProject.bat"

package:
  stage: package
  only:
    - web                 # only archive when started through the web interface
    - schedules           # only archive when started at a specific schedule
  script:
    - echo "Adding build to the artifacts"
    - call C:\PATH_TO_FILES\Archive.bat
  artifacts:
    paths:
      - PROJECT_NAME.zip
    expire_in: 5 days

Commit the file and your pipeline should be triggered! Gitlab will now build and compile your project everytime files are pushed to your repository. It will archive the build only when triggered through the web interface or on a scheduled time.

Finaly you might want to add Slack Notifications.

If you have any questions, suggestions or feedback feel free to contact me.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].