mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-29 08:15:35 +00:00
Merge branch 'conditional_push_builds' into 'master'
Add support for daily builds See merge request OpenMW/openmw!1314 (cherry picked from commit 50ea9869528c984b8ea66864fa08f5f710734eff)1ee18b88
Update .gitlab-ci.yml file603b0ad8
Update .gitlab-ci.ymla69cc468
Update .gitlab-ci.yml
This commit is contained in:
parent
fac84b5dd3
commit
2d3c6faec4
1 changed files with 20 additions and 2 deletions
|
@ -8,6 +8,9 @@ stages:
|
||||||
- docker
|
- docker
|
||||||
- linux
|
- linux
|
||||||
image: debian:bullseye
|
image: debian:bullseye
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "push"
|
||||||
|
|
||||||
|
|
||||||
.Debian:
|
.Debian:
|
||||||
extends: .Debian_Image
|
extends: .Debian_Image
|
||||||
|
@ -52,7 +55,7 @@ Coverity:
|
||||||
extends: .Debian_Image
|
extends: .Debian_Image
|
||||||
stage: build
|
stage: build
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
before_script:
|
before_script:
|
||||||
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic coverity
|
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic coverity
|
||||||
- curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN
|
- curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN
|
||||||
|
@ -70,7 +73,6 @@ Coverity:
|
||||||
variables:
|
variables:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
CXX: g++
|
CXX: g++
|
||||||
artifacts:
|
|
||||||
|
|
||||||
Debian_GCC:
|
Debian_GCC:
|
||||||
extends: .Debian
|
extends: .Debian
|
||||||
|
@ -162,6 +164,7 @@ Debian_Clang_tests_Debug:
|
||||||
only:
|
only:
|
||||||
variables:
|
variables:
|
||||||
- $CI_PROJECT_ID == "7107382"
|
- $CI_PROJECT_ID == "7107382"
|
||||||
|
- $CI_PIPELINE_SOURCE == "push"
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- ccache/
|
- ccache/
|
||||||
|
@ -213,6 +216,8 @@ variables: &tests-targets
|
||||||
.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
|
||||||
|
@ -329,6 +334,8 @@ Windows_Ninja_Tests_RelWithDebInfo:
|
||||||
.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
|
||||||
|
@ -389,6 +396,15 @@ Windows_Ninja_Tests_RelWithDebInfo:
|
||||||
- MSVC2019_64/*/*/*/*/*/*/*.log
|
- MSVC2019_64/*/*/*/*/*/*/*.log
|
||||||
- MSVC2019_64/*/*/*/*/*/*/*/*.log
|
- MSVC2019_64/*/*/*/*/*/*/*/*.log
|
||||||
|
|
||||||
|
Daily_Windows_MSBuild_Engine_Release:on-schedule:
|
||||||
|
extends:
|
||||||
|
- .Windows_MSBuild_Base
|
||||||
|
variables:
|
||||||
|
<<: *engine-targets
|
||||||
|
config: "Release"
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
|
|
||||||
Windows_MSBuild_Engine_Release:
|
Windows_MSBuild_Engine_Release:
|
||||||
extends:
|
extends:
|
||||||
- .Windows_MSBuild_Base
|
- .Windows_MSBuild_Base
|
||||||
|
@ -444,6 +460,8 @@ Debian_AndroidNDK_arm64-v8a:
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
image: debian:bullseye
|
image: debian:bullseye
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "push"
|
||||||
variables:
|
variables:
|
||||||
CCACHE_SIZE: 3G
|
CCACHE_SIZE: 3G
|
||||||
cache:
|
cache:
|
||||||
|
|
Loading…
Reference in a new issue