#40 configured build script for GitLab CI and Azure Pipelines
This commit is contained in:
parent
399651ce59
commit
423173aae4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user