projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change and add packages for tumbleweed.
[open-adventure.git]
/
.gitlab-ci.yml
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index 984111df8031110b3a9131c7c5c1e58bcf5394de..f9ce742f9fbf2bc743223638715983c1e61f44cc 100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-1,4
+1,4
@@
-image: opensuse
:
tumbleweed
+image: opensuse
/
tumbleweed
stages:
- build
stages:
- build
@@
-9,7
+9,7
@@
stages:
binary:debug:
stage: build
before_script:
binary:debug:
stage: build
before_script:
- - zypper install -y make gcc libedit-devel libasan
3 libubsan0 python python2-PyYAML lcov
+ - zypper install -y make gcc libedit-devel libasan
5 libubsan1 python python3-PyYAML lcov
script:
- make debug
artifacts:
script:
- make debug
artifacts:
@@
-19,12
+19,11
@@
binary:debug:
- "*.o"
- dungeon.c
- dungeon.h
- "*.o"
- dungeon.c
- dungeon.h
- - "*.gcno"
binary:release:
stage: build
before_script:
binary:release:
stage: build
before_script:
- - zypper install -y make gcc libedit-devel python python
2
-PyYAML
+ - zypper install -y make gcc libedit-devel python python
3
-PyYAML
script:
- make advent cheat
artifacts:
script:
- make advent cheat
artifacts:
@@
-58,7
+57,7
@@
html:
dist:
stage: build
before_script:
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
script:
- export VERS=${CI_COMMIT_REF_NAME}
- make dist -e
@@
-70,23
+69,19
@@
dist:
test:debug:
stage: test
before_script:
test:debug:
stage: test
before_script:
- - zypper install -y make gcc libedit-devel libasan
3 libubsan0 python python2-PyYAML lcov
+ - zypper install -y make gcc libedit-devel libasan
5 libubsan1 python python3-PyYAML lcov diffutils
script:
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
artifacts:
paths:
- coverage
+ dependencies:
+ - binary:debug
test:release:
stage: test
before_script:
test:release:
stage: test
before_script:
- - zypper install -y make libedit
+ - zypper install -y make libedit
diffutils
script:
- cd tests
- make
script:
- cd tests
- make