.gitlab-ci.yml: add a strict check to catch broken packages

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-09-27 22:39:19 +03:00
parent 74383c1f9e
commit 372e5a14ed
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
1 changed files with 10 additions and 0 deletions

View File

@ -38,6 +38,16 @@ pkgcheck_full_scan:
script:
- pkgcheck ci $common_pkgcheck_args
pkgcheck_strict_scan:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
when: never
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
when: manual
script:
# temporarily disable BadDefaultUseFlags
- pkgcheck ci -k error,-BadDefaultUseFlags $common_pkgcheck_args
pkgcheck_merge:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'