Skip to content
Snippets Groups Projects
Select Git revision
  • 8e4265c42f41418ed7fbedb251d6a79defc7863a
  • master default
2 results

.gitlab-ci.yml

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .gitlab-ci.yml 893 B
    stages:
    - lint
    - build
    
    chktex:
      image: tianon/latex
      stage: lint
      script:
      - chktex -eall -n22 -n46 -n30 -n3 -e16 -I0 -v2 -o chktex.out */**/*.tex *.tex || true
      - cat chktex.out
      - "! [ -s chktex.out ]"
      tags:
      - docker
    
    cspell:
      image: dbogatov/docker-images:cspell-latest
      stage: lint
      script:
      - sed -e "s/cSpell\.//g" .vscode/settings.json > .vscode/cspell.json
      - cspell -c .vscode/cspell.json */**/*.tex *.tex
      tags:
      - docker
    
    bibfile:
      image: tianon/latex
      stage: lint
      script:
      - biber --tool -V bibfile.bib
      tags:
      - docker
    
    artifacts:
      image: tianon/latex
      stage: build
      script:
      - ./install-font-debian.sh
      - printf "\providecommand{\\\version}{%s}" $(echo $CI_BUILD_REF | cut -c1-8) > version.tex
      - ./build.sh
      - ./build.sh -n -c presentation-with-notes
      - ./build.sh -b
      - mv dist/*.pdf .
      artifacts:
        paths:
        - "*.pdf"
      tags:
      - docker