mirror of
https://dev.iopsys.eu/system/rulengd.git
synced 2025-12-20 02:18:45 +08:00
42 lines
850 B
YAML
42 lines
850 B
YAML
variables:
|
|
DEBUG: 'TRUE'
|
|
SOURCE_FOLDER: "./src"
|
|
FLAWFINDER_OPTIONS: "-m 4 --error-level=5"
|
|
CPPCHECK_OPTIONS: " --enable=all --inline-suppr"
|
|
|
|
include:
|
|
- project: 'iopsys/gitlab-ci-pipeline'
|
|
file: '/static-code-analysis.yml'
|
|
ref: '0.30'
|
|
|
|
stages:
|
|
- static_code_analysis
|
|
- unit_test
|
|
- functional_test
|
|
|
|
run_unit_test:
|
|
stage: unit_test
|
|
image: ${COMMON_IMAGE}
|
|
allow_failure: true
|
|
script:
|
|
- "./gitlab-ci/setup.sh"
|
|
- "./gitlab-ci/unit-test.sh"
|
|
|
|
artifacts:
|
|
when: always
|
|
paths:
|
|
- build/unit-coverage
|
|
|
|
run_functional_test:
|
|
stage: functional_test
|
|
image: ${COMMON_IMAGE}
|
|
allow_failure: true
|
|
script:
|
|
- "./gitlab-ci/setup.sh"
|
|
- "./gitlab-ci/functional-test.sh"
|
|
|
|
artifacts:
|
|
when: always
|
|
paths:
|
|
- coverage.xml
|