From a680952434f292c758b7b640d35ddb33bb94410c Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Wed, 1 Dec 2021 21:43:31 +0000 Subject: [PATCH] Combine daily and on-push build declarations --- .gitlab-ci.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47511923ad..349bb5ffa3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -395,21 +395,16 @@ Windows_Ninja_Tests_RelWithDebInfo: - 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: extends: - .Windows_MSBuild_Base variables: <<: *engine-targets config: "Release" + rules: + # 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 == "schedule" Windows_MSBuild_Engine_Debug: extends: @@ -431,6 +426,10 @@ Windows_MSBuild_CS_Release: variables: <<: *cs-targets config: "Release" + rules: + # 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 == "schedule" Windows_MSBuild_CS_Debug: extends: