Skip to content
Snippets Groups Projects
.gitlab-ci.yml 668 B
Newer Older
Luke Naylor's avatar
Luke Naylor committed
variables:
  GIT_SUBMODULE_STRATEGY: normal

build:
Luke Naylor's avatar
Luke Naylor committed
  image: registry.gitlab.com/lukenaylor/latex/sage-tex-chroma-image:latest
Luke Naylor's avatar
Luke Naylor committed
  tags: ["x64"]
Luke Naylor's avatar
Luke Naylor committed
  # The following is in the Dockerfile (can't see to use that)
  before_script:
Luke Naylor's avatar
Luke Naylor committed
    - echo $SHELL
    - source /root/.bashrc
Luke Naylor's avatar
Luke Naylor committed
    - git clone --depth=1 --branch v0.20.4 https://github.com/tree-sitter/tree-sitter-rust.git /root/src/tree-sitter-rust
    - sage -pip install pseudowalls --extra-index-url https://gitlab.com/api/v4/projects/43962374/packages/pypi/simple
    - echo $SHELL
    - source /root/.bashrc
Luke Naylor's avatar
Luke Naylor committed
    - make pretex
    - latexmk -use-make
Luke Naylor's avatar
Luke Naylor committed
  artifacts:
    paths:
Luke Naylor's avatar
Luke Naylor committed
      - main.pdf
      - "*sagetex*"
Luke Naylor's avatar
Luke Naylor committed