Skip to content
Snippets Groups Projects
Commit 948af2f9 authored by Kris Tabea Helwig's avatar Kris Tabea Helwig Committed by David Gilbert
Browse files

Adds optional windows build to the pipeline input options

parent 9fee4b7c
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,14 @@ spec:
description: Custom nDisplay config stored on the cluster filesystem.
type: string
default: ""
run_windows_jobs:
description: "Whether or not the windows jobs should be added to the pipeline.
Yes - always run
No - never run
Manual - add jobs to the pipeline but only run when manually started."
type: string
options: ["Yes", "No", "Manual"]
default: "Yes"
---
......@@ -53,7 +60,7 @@ variables:
UNREAL_VERSION: $[[ inputs.unreal_version ]]
NUMBER_OF_OLD_VERSIONS: $[[ inputs.number_of_old_versions ]]
CUSTOM_NDISPLAY_CONFIG: $[[ inputs.custom_ndisplay_config ]]
BUILD_WINDOWS_CONDITION: $[[ inputs.run_windows_jobs ]]
stages:
- build
......@@ -61,8 +68,14 @@ stages:
Build_Windows:
rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $BUILD_WINDOWS_CONDITION == "No"
when: never
- if: $BUILD_WINDOWS_CONDITION == "Manual" && $CI_PIPELINE_SOURCE == "web"
when: manual
- if: $BUILD_WINDOWS_CONDITION == "Manual" && $CI_PIPELINE_SOURCE == "schedule"
when: manual
- if: $BUILD_WINDOWS_CONDITION == "Yes" && $CI_PIPELINE_SOURCE == "web"
- if: $BUILD_WINDOWS_CONDITION == "Yes" && $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Windows_
tags:
- windows
......@@ -86,15 +99,6 @@ Build_Linux:
# CLIENT_CONFIG: "DebugGame"
CLIENT_CONFIG: $[[ inputs.build_type ]]
.Deploy_Windows:
rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Deploy_VRDev_
needs:
- job: "Build_Windows"
artifacts: true
# Deploys to vrdemo instead of av006de. Use extends: .Deploy_CAVE_ to deploy to legacy av006de
Deploy_CAVE:
rules:
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment