|
|
@ -1,15 +1,6 @@
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
interruptible: true
|
|
|
|
interruptible: true
|
|
|
|
|
|
|
|
|
|
|
|
# Merge requests have two pipelines, filter pipelines using branch and merge request event together.
|
|
|
|
|
|
|
|
# See https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html#two-pipelines-when-pushing-to-a-branch
|
|
|
|
|
|
|
|
workflow:
|
|
|
|
|
|
|
|
rules:
|
|
|
|
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
|
|
|
|
|
|
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
|
|
|
|
|
|
|
when: never
|
|
|
|
|
|
|
|
- if: $CI_COMMIT_BRANCH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Note: We set `needs` on each job to control the job DAG.
|
|
|
|
# Note: We set `needs` on each job to control the job DAG.
|
|
|
|
# See https://docs.gitlab.com/ee/ci/yaml/#needs
|
|
|
|
# See https://docs.gitlab.com/ee/ci/yaml/#needs
|
|
|
|
stages:
|
|
|
|
stages:
|
|
|
@ -29,6 +20,8 @@ variables:
|
|
|
|
- docker
|
|
|
|
- docker
|
|
|
|
- linux
|
|
|
|
- linux
|
|
|
|
image: ubuntu:22.04
|
|
|
|
image: ubuntu:22.04
|
|
|
|
|
|
|
|
rules:
|
|
|
|
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "push"
|
|
|
|
|
|
|
|
|
|
|
|
.Ubuntu:
|
|
|
|
.Ubuntu:
|
|
|
|
extends: .Ubuntu_Image
|
|
|
|
extends: .Ubuntu_Image
|
|
|
@ -395,6 +388,8 @@ macOS12_Xcode13:
|
|
|
|
.Windows_Ninja_Base:
|
|
|
|
.Windows_Ninja_Base:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- windows
|
|
|
|
- windows
|
|
|
|
|
|
|
|
rules:
|
|
|
|
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "push"
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
|
|
|
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
|
|
|
- choco source add -n=openmw-proxy -s="https://repo.openmw.org/repository/Chocolatey/" --priority=1
|
|
|
|
- choco source add -n=openmw-proxy -s="https://repo.openmw.org/repository/Chocolatey/" --priority=1
|
|
|
@ -496,6 +491,8 @@ macOS12_Xcode13:
|
|
|
|
.Windows_MSBuild_Base:
|
|
|
|
.Windows_MSBuild_Base:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- windows
|
|
|
|
- windows
|
|
|
|
|
|
|
|
rules:
|
|
|
|
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "push"
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
|
|
|
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
|
|
|
- choco source add -n=openmw-proxy -s="https://repo.openmw.org/repository/Chocolatey/" --priority=1
|
|
|
|
- choco source add -n=openmw-proxy -s="https://repo.openmw.org/repository/Chocolatey/" --priority=1
|
|
|
@ -593,9 +590,9 @@ Windows_MSBuild_RelWithDebInfo:
|
|
|
|
rules:
|
|
|
|
rules:
|
|
|
|
# run this for both pushes and schedules so 'latest successful pipeline for branch' always includes it
|
|
|
|
# run this for both pushes and schedules so 'latest successful pipeline for branch' always includes it
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "push"
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "push"
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
|
|
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.Ubuntu_AndroidNDK_arm64-v8a:
|
|
|
|
.Ubuntu_AndroidNDK_arm64-v8a:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- linux
|
|
|
|
- linux
|
|
|
|