X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=.gitlab-ci.yml;h=1a695406a6cf87bc13fee2706a320a3bbc9dd581;hp=984111df8031110b3a9131c7c5c1e58bcf5394de;hb=42c66160a77370e7f70a9024f5d1eff3ef2710cd;hpb=a680514d5f86d02df81f0735d46908c3cfcb392f diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 984111d..1a69540 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ stages: 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: @@ -19,7 +19,6 @@ binary:debug: - "*.o" - dungeon.c - dungeon.h - - "*.gcno" binary:release: stage: build @@ -70,18 +69,21 @@ dist: 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:debug_clang: + stage: test + before_script: + - zypper install -y make clang libedit-devel python python2-PyYAML lcov + script: + - CC=clang make debug check test:release: stage: test