File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 1+ # Pipelines runs only on branches and tags.
2+ # Disable merge request pipelines, pipelines for merge results and merge trains.
13include :
4+ - template : ' Workflows/Branch-Pipelines.gitlab-ci.yml'
25 - project : ' Sharpmake/SharpmakeExtended'
36 file : ' build/sharpmake-ci.yml'
47
5- workflow :
6- rules :
7- # Enable merge request pipelines.
8- - if : $CI_PIPELINE_SOURCE == "merge_request_event"
9- # Avoid duplicate pipelines when pushing in a branch.
10- - if : $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
11- when : never
12- # Else run pipelines for branches and tags.
13- - if : $CI_COMMIT_BRANCH
14- - if : $CI_COMMIT_TAG
15-
168stages :
179 - build
1810 - test
Original file line number Diff line number Diff line change @@ -93,9 +93,6 @@ foreach ($sample in $samplesDef.Samples)
9393
9494 # Merge sample properties into a single hash table.
9595 $sampleJob = $osProperties + @ {
96- rules = @ (
97- @ { if = ' $CI_PIPELINE_SOURCE == "parent_pipeline"' }
98- )
9996 artifacts = [PSCustomObject ]@ {
10097 when = ' on_failure'
10198 untracked = $true
You can’t perform that action at this time.
0 commit comments