32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
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:
|
|
- script: ./build.sh
|
|
displayName: Run Build Script
|
|
- task: PublishBuildArtifacts@1
|
|
inputs:
|
|
ArtifactName: main.pdf
|
|
PathtoPublish: ./main.pdf
|
|
|