2020-05-24 14:53:01 +00:00
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- stage: spellcheck
|
|
|
|
jobs:
|
|
|
|
- job: spellcheck_chapters
|
|
|
|
container: fastexitlane/hunspell:latest
|
|
|
|
continueOnError: true
|
|
|
|
steps:
|
|
|
|
- script: export HUNSPELL_FINDINGS=`for filename in chapter/*.tex; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
|
|
|
|
- script: echo $HUNSPELL_FINDINGS
|
|
|
|
- script: test "$HUNSPELL_FINDINGS" == ""
|
|
|
|
- job: spellcheck_appendix
|
|
|
|
container: fastexitlane/hunspell:latest
|
|
|
|
continueOnError: true
|
|
|
|
steps:
|
|
|
|
- script: export HUNSPELL_FINDINGS=`for filename in appendix/*.tex; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
|
|
|
|
- script: echo $HUNSPELL_FINDINGS
|
|
|
|
- script: test "$HUNSPELL_FINDINGS" == ""
|
|
|
|
- stage: build
|
|
|
|
jobs:
|
|
|
|
- job: latexmk
|
|
|
|
container: fastexitlane/pandoc-latex:latest
|
|
|
|
steps:
|
2020-06-28 21:59:37 +00:00
|
|
|
- script: ./build.sh
|
|
|
|
displayName: Run Build Script
|
2020-05-24 14:53:01 +00:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
inputs:
|
|
|
|
ArtifactName: main.pdf
|
|
|
|
PathtoPublish: ./main.pdf
|
|
|
|
|