Update .gitlab-ci.yml

This commit is contained in:
Lukas Steiner
2021-09-17 13:59:50 +00:00
parent 01dba9d3ab
commit 77f818fadc

View File

@@ -1,9 +1,6 @@
# vim: set ts=4 sw=4 expandtab:
image: gcc
variables:
GIT_STRATEGY: fetch
before_script:
- apt-get update --yes
- apt-get install --yes cmake python3 python3-dev qtbase5-dev libqwt-qt5-dev sqlite3 lcov
@@ -18,21 +15,11 @@ build:
script:
- git submodule sync
- git submodule update --init --recursive
- rm -rf build
- mkdir -p coverage
- mkdir -p build
- cd build
- cmake -DDRAMSYS_COVERAGE_CHECK=ON ../DRAMSys
- make -j 16
- find . -name "*.o" -type f -delete
- rm -rf ${CI_PROJECT_DIR}/coverage
- mkdir -p ${CI_PROJECT_DIR}/coverage
cache:
key: build
paths:
- build/
policy: push
- make -j 10
artifacts:
paths:
@@ -50,11 +37,6 @@ coverage:
- lcov `find coverage -type f -exec echo "-a {}" \;` -o coverage/final.out
- lcov --remove coverage/final.out '*/systemc*/include/*' '*/traceAnalyzer/*' '*/gcc*/include/*' '/usr/include/*' '*/third_party/*' -o coverage/final_dramsys.out
- lcov --list coverage/final_dramsys.out
artifacts:
paths:
- coverage/final.out
- coverage/final_dramsys.out
include:
- '/DRAMSys/tests/lpddr4/ci.yml'