mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 21:27:10 -04:00
gitlab-ci: add workflow for github pull request (#919)
This commit is contained in:
parent
38c58e50e8
commit
d315ddd0f1
1 changed files with 5 additions and 5 deletions
|
@ -40,17 +40,17 @@ include:
|
|||
|
||||
workflow:
|
||||
rules:
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^master.*/ || $CI_COMMIT_REF_NAME =~ /^hotfix.*/ || $CI_COMMIT_REF_NAME =~ /^rc.*/'
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^master.*|^hotfix.*|^rc.*|^github-pr.*/'
|
||||
variables:
|
||||
CI_WEIGHT: "full"
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^dev.*/ || $CI_COMMIT_REF_NAME =~ /^feature.*/'
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^dev.*|^feature.*/'
|
||||
variables:
|
||||
CI_WEIGHT: "lite"
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^cvvdev\/master.*/ || $CI_COMMIT_REF_NAME =~ /^cvvdev\/hotfix.*/ || $CI_COMMIT_REF_NAME =~ /^cvvdev\/rc.*/'
|
||||
CI_WEIGHT: "short"
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^cvvdev\/master.*|^cvvdev\/hotfix.*|^cvvdev\/rc.*/'
|
||||
variables:
|
||||
CI_WEIGHT: "full"
|
||||
CORE_V_VERIF_BRANCH: $CI_COMMIT_REF_NAME
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^cvvdev\/dev.*/ || $CI_COMMIT_REF_NAME =~ /^cvvdev\/feature.*/'
|
||||
- if: '$CI_COMMIT_REF_NAME =~ /^cvvdev\/dev.*|^cvvdev\/feature.*/'
|
||||
variables:
|
||||
CI_WEIGHT: "lite"
|
||||
CORE_V_VERIF_BRANCH: $CI_COMMIT_REF_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue