stages:
  - build

build:
  stage: build
  image: texlive/texlive:latest
  script:
  - apt-get update && apt-get install fonts-firacode
  - cd ${FOLDER}
  - lualatex ${FILE}
  - biber ${FILE}
  - lualatex ${FILE}
  - lualatex ${FILE}
  - cd ..
  artifacts:
    paths:
    - "**/*.pdf"
  parallel:
    matrix:
    # List all to-be-built projects here
    - FOLDER: "proposal"
      FILE: "proposal" 
    - FOLDER: "thesis"
      FILE: "thesis"