Skip to content
Snippets Groups Projects
Select Git revision
  • 0fe240940ec3bf35dead20ddbcde1edb1dcb9bc0
  • master default protected
2 results

.gitlab-ci.yml

Blame
  • Dmytro Bogatov's avatar
    0fe24094
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .gitlab-ci.yml 936 B
    stages:
    - lint
    - build
    
    chktex:
      image: dbogatov/docker-images:latex-latest
      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: dbogatov/docker-images:latex-latest
      stage: lint
      script:
      - biber --tool -V bibfile.bib
      tags:
      - docker
    
    artifacts:
      image: dbogatov/docker-images:latex-latest
      stage: build
      script:
      - printf "\providecommand{\\\version}{%s}" $(echo $CI_BUILD_REF | cut -c1-8) > version.tex
      - ./build.sh
      - ./build.sh -n on -j presentation-with-notes
      - ./build.sh -b
      - mv dist/*.pdf .
      artifacts:
        paths:
        - "*.pdf"
      tags:
      - docker