Update INSTALL.adoc to provide extra help for those getting an error regarding yaml...
[open-adventure.git] / .gitlab-ci.yml
index 984111df8031110b3a9131c7c5c1e58bcf5394de..701db5bb0b87ecfd35d5730e941f1f453596ac97 100644 (file)
@@ -1,4 +1,4 @@
-image: opensuse:tumbleweed
+image: opensuse/tumbleweed
 
 stages:
   - build
@@ -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
@@ -58,7 +57,7 @@ html:
 dist:
   stage: build
   before_script:
-    - zypper install -y make asciidoc tar
+    - zypper install -y make asciidoc tar gzip
   script:
     - export VERS=${CI_COMMIT_REF_NAME}
     - make dist -e
@@ -70,18 +69,14 @@ 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:release:
   stage: test