#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
|
- job: latexmk
|
||||||
container: fastexitlane/pandoc-latex:latest
|
container: fastexitlane/pandoc-latex:latest
|
||||||
steps:
|
steps:
|
||||||
- script: latexmk main.tex
|
- script: ./build.sh
|
||||||
displayName: Execute LaTex Build
|
displayName: Run Build Script
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
ArtifactName: main.pdf
|
ArtifactName: main.pdf
|
||||||
|
|
|
@ -10,7 +10,7 @@ latexmk:
|
||||||
- main*.pdf
|
- main*.pdf
|
||||||
expire_in: 2d
|
expire_in: 2d
|
||||||
script:
|
script:
|
||||||
- latexmk main.tex
|
- ./build.sh
|
||||||
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
||||||
- mv main.pdf main@$ci_commit_sha_short.pdf
|
- mv main.pdf main@$ci_commit_sha_short.pdf
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,8 @@ stages:
|
||||||
jobs:
|
jobs:
|
||||||
- job: pandoc_latexmk
|
- job: pandoc_latexmk
|
||||||
steps:
|
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
|
- script: ./build.sh pandoc
|
||||||
displayName: Convert Markdown Files to LaTex
|
displayName: Run Build Script with Pandoc Option
|
||||||
- script: latexmk main.tex
|
|
||||||
displayName: Execute LaTex Build
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
ArtifactName: main.pdf
|
ArtifactName: main.pdf
|
||||||
|
|
|
@ -11,8 +11,7 @@ pandoc_latexmk:
|
||||||
- main*.pdf
|
- main*.pdf
|
||||||
expire_in: 2d
|
expire_in: 2d
|
||||||
script:
|
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
|
- ./build.sh pandoc
|
||||||
- latexmk main.tex
|
|
||||||
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
||||||
- mv main.pdf main@$ci_commit_sha_short.pdf
|
- mv main.pdf main@$ci_commit_sha_short.pdf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user