Attempt to unbreak pipeline.
[open-adventure.git] / .gitlab-ci.yml
index 848f91a754e9084020d604680e5d06d6225b4196..291b943a7e4c1ab5359fd7d33bcbd5e18ed796fa 100644 (file)
@@ -1,9 +1,5 @@
 image: alpine
 
-variables:
-  - GIT_SSL_CAPATH=/etc/ssl/certs
-  - GIT_CURL_VERBOSE=1
-
 stages:
   - build
   - test
@@ -14,12 +10,14 @@ binary:debug:
   stage: build
   before_script:
     - apk update
-    - apk add make gcc musl-dev
+    - apk add make gcc musl-dev python3 libedit-dev
+    - pip3 install PyYAML
   script: 
     - make debug
   artifacts:
     paths:
       - advent
+      - cheat
       - "*.gcda"
       - "*.gcno"
   # cache outputs to reduce the build time
@@ -31,12 +29,14 @@ binary:release:
   stage: build
   before_script:
     - apk update
-    - apk add make gcc musl-dev
+    - apk add make gcc musl-dev python3 libedit-dev
+    - pip3 install PyYAML
   script: 
-    - make advent
+    - make advent cheat
   artifacts:
     paths:
       - advent
+      - cheat
   # cache outputs to reduce the build time
   cache:
     paths:
@@ -86,9 +86,8 @@ test:debug:
   script:
     - cd tests
     - make
+    - make coverage
     - cd ..
-    - lcov -t "advent" -o advent.info -c -d .
-    - genhtml -o coverage advent.info
   artifacts:
     paths:
       - coverage