binary:debug:
stage: build
before_script:
- - zypper install -y make gcc libedit-devel libasan3 libubsan0 python python2-PyYAML lcov
+ - zypper install -y make gcc libedit-devel libasan5 libubsan1 python python2-PyYAML lcov
script:
- make debug
artifacts:
- "*.o"
- dungeon.c
- dungeon.h
- - "*.gcno"
binary:release:
stage: build
test:debug:
stage: test
before_script:
- - zypper install -y make gcc libedit-devel libasan3 libubsan0 python python2-PyYAML lcov
+ - zypper install -y make gcc libedit-devel libasan5 libubsan1 python python2-PyYAML lcov
script:
- - make debug
- - make check
- - lcov -t "advent" -o advent.info -c -d .
- - genhtml -o coverage advent.info
- - cd tests
- - ./coverage_dungeon.py
- - cd ..
+ - make coverage
artifacts:
paths:
- coverage
+ dependencies:
+ - binary:debug
test:release:
stage: test