Skip to content
Snippets Groups Projects
Commit 4ff37085 authored by TIm Kluge's avatar TIm Kluge
Browse files

Adds Gitlab CI

parent f888d2ca
No related branches found
No related tags found
No related merge requests found
image: aergus/latex
variables:
FILENAME: main
FILEDIR: .
DIFFCMD: bash git-latexdiff --exclude-textcmd="section,subsection,author" -b --main $FILENAME.tex --latexmk
stages:
- build
- diff
build:
stage: build
tags:
- dockered
artifacts:
paths:
- $FILEDIR/paper.pdf
- $FILEDIR/build_paper.log
script:
- cd "$FILEDIR"
- latexmk -pdf "$FILENAME.tex" 2>&1 | tee build_paper.log
- bash -c 'mv $FILENAME.pdf paper.pdf; true'
# - 'grep -v "LaTeX Warning: There were undefined references." build_paper.log'
# diff is not working most of the time
# diff:
# stage: diff
# tags:
# - dockered
# artifacts:
# paths:
# - $FILEDIR/difftag_paper.pdf
# - $FILEDIR/difftag_paper.log
# - $FILEDIR/diffcommit_paper.pdf
# script:
# - cd "$FILEDIR"
# - LAST_TAG=$(git describe --abbrev=0 --tags HEAD~1)
# - wget https://gitlab.com/git-latexdiff/git-latexdiff/raw/ef53cddc761ce2d278ba5016d17828cf63e30af5/git-latexdiff
# - if [ "$LAST_TAG" ] ; then
# - $DIFFCMD -o "difftag_paper.pdf" "$LAST_TAG" 2>&1 | tee difftag_paper.log
# - fi
# - if [ "$CI_BEFORE_SHA" ] ; then
# - $DIFFCMD -o "diffcommit_paper.pdf" "$CI_BEFORE_SHA"
# - fi
# allow_failure: true
[![pipeline status](/../badges/master/pipeline.svg)](/../pipelines)
* [Latest PDF online](/../-/jobs/artifacts/master/file/paper.pdf?job=build)
* [Build Log](/../-/jobs/artifacts/master/file/build_paper.log?job=build)
# Deep modeling for self-reproducing robots
> This is a paper about how to use deep modeling to describe a self-reproducing robots control system
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment