Files
DRAMSys/.gitlab-ci.yml
2018-12-18 11:14:05 +01:00

41 lines
758 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
- find . -name "*.o" -type f -delete
coverage:
stage: Coverage
coverage: '/^\s*lines\s*\d+.\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'