diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2da4842a97368d6b1c3f1fffa71724949ef5d059..740ccc60ac4b41751d379d5b7c70f4c691acd8b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,6 +63,17 @@ build documentation: - doc/build/html/ expire_in: 1 month +build PDF documentation: + stage: test + script: + - pip3 install sympy + - make -C doc latex SPHINXOPTS='-n -W' + - cd doc/build/latex + - make all-pdf + artifacts: + paths: + - doc/build/latex/kwant.pdf + expire_in: 1 month run tests: stage: test