projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add historical details.
[open-adventure.git]
/
.gitlab-ci.yml
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index 45531263d9cdfcb3988661d9d6e31b5fa160a9a7..fdf2bb726fb1266033cc651977fe8df5deaac43e 100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-1,9
+1,5
@@
image: alpine
image: alpine
-variables:
- GIT_SUBMODULE_STRATEGY: "recursive"
- GIT_SSL_NO_VERIFY: "true"
-
stages:
- build
- test
stages:
- build
- test
@@
-14,9
+10,9
@@
binary:debug:
stage: build
before_script:
- apk update
stage: build
before_script:
- apk update
- - apk add make gcc musl-dev python3
+ - apk add make gcc musl-dev python3
libedit-dev
- pip3 install PyYAML
- pip3 install PyYAML
- script:
+ script:
- make debug
artifacts:
paths:
- make debug
artifacts:
paths:
@@
-33,9
+29,9
@@
binary:release:
stage: build
before_script:
- apk update
stage: build
before_script:
- apk update
- - apk add make gcc musl-dev python3
+ - apk add make gcc musl-dev python3
libedit-dev
- pip3 install PyYAML
- pip3 install PyYAML
- script:
+ script:
- make advent cheat
artifacts:
paths:
- make advent cheat
artifacts:
paths:
@@
-85,14
+81,14
@@
test:debug:
stage: test
before_script:
- apk update
stage: test
before_script:
- apk update
- - apk add make gcc
+ - apk add make gcc python3 libedit-dev
+ - pip3 install PyYAML
- apk add lcov --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
script:
- cd tests
- make
- apk add lcov --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
script:
- cd tests
- make
+ - make coverage
- cd ..
- cd ..
- - lcov -t "advent" -o advent.info -c -d .
- - genhtml -o coverage advent.info
artifacts:
paths:
- coverage
artifacts:
paths:
- coverage
@@
-103,7
+99,7
@@
test:release:
stage: test
before_script:
- apk update
stage: test
before_script:
- apk update
- - apk add make
+ - apk add make
libedit
script:
- cd tests
- make
script:
- cd tests
- make
@@
-123,4
+119,3
@@
pages:
- master
dependencies:
- test:debug
- master
dependencies:
- test:debug
-