Skip to content
Snippets Groups Projects

LaTeX CI

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Noah Wöhler

    CI pipeline that builds a project with latexmk

    .gitlab-ci.yml 608 B
    compile_pdf:
      stage: build
      image: texlive/texlive  # use a Docker image for LaTeX from https://hub.docker.com/
      script: make  # build the pdf just as you would on your computer
      artifacts:
        paths:
          - abschlussarbeit.pdf  # instruct GitLab to keep the main.pdf file
    
    #pages:
    #  stage: deploy
    #  script:
    #    - mkdir public  # create a folder called public
    #    - cp main.pdf public  # copy the pdf file into the public folder
    #  artifacts:
    #    paths:
    #      - public  # instruct GitLab to keep the public folder
    #  only:
    #    - master  # deploy the pdf only for commits made to the master branch
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment