#40 configured build script for GitLab CI and Azure Pipelines

This commit is contained in:
Dominik Becker 2020-06-28 23:59:37 +02:00
parent 399651ce59
commit 423173aae4
4 changed files with 6 additions and 9 deletions

View File

@ -23,8 +23,8 @@ stages:
- job: latexmk
container: fastexitlane/pandoc-latex:latest
steps:
- script: latexmk main.tex
displayName: Execute LaTex Build
- script: ./build.sh
displayName: Run Build Script
- task: PublishBuildArtifacts@1
inputs:
ArtifactName: main.pdf

View File

@ -10,7 +10,7 @@ latexmk:
- main*.pdf
expire_in: 2d
script:
- latexmk main.tex
- ./build.sh
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
- mv main.pdf main@$ci_commit_sha_short.pdf

View File

@ -22,10 +22,8 @@ stages:
jobs:
- job: pandoc_latexmk
steps:
- script: pandoc --filter pandoc-crossref --filter pandoc-citeproc -M cref=true --top-level-division=chapter --bibliography library/library.bib --biblatex -o chapter/out.tex chapter/*.md
displayName: Convert Markdown Files to LaTex
- script: latexmk main.tex
displayName: Execute LaTex Build
- script: ./build.sh pandoc
displayName: Run Build Script with Pandoc Option
- task: PublishBuildArtifacts@1
inputs:
ArtifactName: main.pdf

View File

@ -11,8 +11,7 @@ pandoc_latexmk:
- main*.pdf
expire_in: 2d
script:
- pandoc --filter pandoc-crossref --filter pandoc-citeproc -M cref=true --top-level-division=chapter --bibliography library/library.bib --biblatex -o chapter/out.tex chapter/*.md
- latexmk main.tex
- ./build.sh pandoc
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
- mv main.pdf main@$ci_commit_sha_short.pdf