diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ef704ac --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +# Full texlive/ctan, but just "moderately" large (~7 GB) +image: texlive/texlive:latest + +stages: + - build + +compile-tuts: + stage: build + script: + - bash build.sh + artifacts: + paths: + - build + tags: + - latex diff --git a/Culinography/project.tex b/Culinography/project.tex index 01f22ed..387931f 100644 --- a/Culinography/project.tex +++ b/Culinography/project.tex @@ -15,7 +15,7 @@ It is well known fact in the scientific commuinity that geologists frequently lick rocks to determine their mineral composition. With this paper we aim to formalize this procedure and establish a baseline scale to enable - geologists to classify their favourite rocks on this culinographic scale. + geologists to classify their favourite rocks on this culinographic scale. \end{psummary} \vspace{2mm} ] diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..ba92194 --- /dev/null +++ b/build.sh @@ -0,0 +1,13 @@ +for project in "./"*/; do + if [ -f $project"main.tex" ]; then + cd $project + # build twice to ensure TOC is built + lualatex "main.tex" + lualatex "main.tex" + rm ./*.log ./*.out ./*.aux ./*.run.xml ./*.bcf ./*.tex.bbl ./*.tex.blg + cd .. + + filename=$(echo $project | awk -F '/' '{print $2}') + mv $project"main.pdf" "./build/"$filename".pdf" + fi +done \ No newline at end of file diff --git a/Culinography/main.pdf b/build/Culinography.pdf similarity index 99% rename from Culinography/main.pdf rename to build/Culinography.pdf index 1493cbc..f9557a1 100644 Binary files a/Culinography/main.pdf and b/build/Culinography.pdf differ diff --git a/Socksorting/main.pdf b/build/Socksorting.pdf similarity index 99% rename from Socksorting/main.pdf rename to build/Socksorting.pdf index a52f84a..9508514 100644 Binary files a/Socksorting/main.pdf and b/build/Socksorting.pdf differ