Files
DRAMSys/.gitlab-ci.yml
2018-12-18 09:39:48 +01:00

41 lines
732 B
YAML

image: gcc
variables:
GIT_STRATEGY: clone
stages:
- build
- WIDEIO
- DDR3
- Coverage
cache:
paths:
- build/
build:
stage: build
script:
- git submodule sync
- git submodule update --init --recursive
- rm -rf build
- mkdir -p build
- cd build
- qmake ../DRAMSys/DRAMSys.pro
- make -j4
- mkdir -p coverage
coverage:
stage: Coverage
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- lcov `find coverage -type f -exec echo "-a {}" \;` -o coverage/final.out
artifacts:
paths:
- coverage/final.out
include:
- '/DRAMSys/tests/DDR3/ci.yml'
- '/DRAMSys/tests/WIDEIO/ci.yml'