summaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
blob: 0e0f9a41ee4546df17f8cc2ab083464e541cd38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: 2
jobs:
  build:
    docker:
      - image: ubuntu
    steps:
      - run:
          name: Git installation
          command: apt-get -qq update; apt-get -y install git
      - run:
          name: Latex installation
          command: apt-get -qq update && apt-get install -y --no-install-recommends latexmk texlive-fonts-extra texlive-fonts-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-luatex texlive-xetex texlive-pictures texlive-lang-french lmodern fonts-font-awesome
      - add_ssh_keys
      - checkout
      - run:
          name: Build th PDF
          command: cd example && latexmk -cd -f -lualatex -interaction=nonstopmode -pdf cv.tex
      - run:
          name: Save built PDF
          command: cd && cp project/example/cv.pdf $CIRCLE_ARTIFACTS/cv.pdf