From 82b37920638556db958be6dc2082e0632267e728 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Fri, 16 Feb 2018 08:56:03 +0100 Subject: [PATCH] various changes for autobuild --- .gitlab-ci.yml | 82 ++++++++++++++++++- FFI/Makefile | 2 +- GDS/Makefile | 2 +- GTI/Makefile | 2 +- KonzMod/Makefile | 2 +- MatheC1/Makefile | 2 +- ...r2014.tex => KlausurLV_SS14_September.tex} | 0 ...erz2015.tex => KlausurLV_WS1415_Maerz.tex} | 0 RK/Makefile | 6 +- 9 files changed, 88 insertions(+), 10 deletions(-) rename RK/{KlausurLV_SS14_September2014.tex => KlausurLV_SS14_September.tex} (100%) rename RK/{KlausurLV_WS1415_Maerz2015.tex => KlausurLV_WS1415_Maerz.tex} (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1097bc8..e04fe9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,9 +7,87 @@ before_script: - apt-get update - apt-get install -y build-essential poppler-utils +.make: &make | + make -C $CI_JOB_NAME + + AuD: script: - - make -C $CI_JOB_NAME + *make artifacts: paths: - - $CI_JOB_NAME/document.pdf + - $CI_JOB_NAME/aud_zusammenfassung.pdf + +FFI: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/ForensInf2_Zusammenfassung.pdf + +GDS: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/gds_braindump_ss16.pdf + - $CI_JOB_NAME/gds_braindump_ss17.pdf + +GTI: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/gti_zusammenfassung.pdf + +IDB: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/idb_skript_greeny/IDB.pdf + - $CI_JOB_NAME/klausur_ws1516/klausur_idb_WS1516.pdf + - $CI_JOB_NAME/klausur_ws16/klausur_idb_SS16.pdf + - $CI_JOB_NAME/klausur_ws16/klausur_idb_SS16_ML.pdf + +KonzMod: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/konzmod_zusammenfassung.pdf + +MatheC1: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/mathec1_zussammenfassung.pdf + +MatheC4: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/MaC4Cheatsheet.pdf + +RK: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/KlausurLV_SS14_September.pdf + - $CI_JOB_NAME/KlausurLV_WS1415_Maerz.pdf + +ThProg: + script: + *make + artifacts: + paths: + - $CI_JOB_NAME/Koinduktion_reduktion.pdf + - $CI_JOB_NAME/Konfluenz.pdf + - $CI_JOB_NAME/Polynomordnung.pdf + - $CI_JOB_NAME/PumpingLemma.pdf + - $CI_JOB_NAME/Strukturelle_Induktion.pdf + - $CI_JOB_NAME/SystemF.pdf + - $CI_JOB_NAME/ThProgCheatsheet.pdf diff --git a/FFI/Makefile b/FFI/Makefile index 328771e..b01f0d8 100644 --- a/FFI/Makefile +++ b/FFI/Makefile @@ -1,6 +1,6 @@ all: pdflatex ForensInf2_Zusammenfassung.tex gitlab: - pdflatex -jobname=$(NAME).pdf ForensInf2_Zusammenfassung.tex + pdflatex -jobname=$(NAME)-build ForensInf2_Zusammenfassung.tex .PHONY: all gitlab diff --git a/GDS/Makefile b/GDS/Makefile index fb4b209..09f30b2 100644 --- a/GDS/Makefile +++ b/GDS/Makefile @@ -1,4 +1,4 @@ -all: gds_braindump_ss17.pdf +all: gds_braindump_ss16.pdf gds_braindump_ss17.pdf continuous: $(PDF).continuous diff --git a/GTI/Makefile b/GTI/Makefile index 3a10442..ae9e904 100644 --- a/GTI/Makefile +++ b/GTI/Makefile @@ -10,7 +10,7 @@ continuous: $(PDF).continuous $(PDF): $(PDF).pdf %.pdf: %.tex - latexmk -jobname=$(@:%.pdf=%) -pdf -f $< + latexmk -jobname=gti_zusammenfassung -pdf -f $< clean: latexmk -c -f $(PDF).tex diff --git a/KonzMod/Makefile b/KonzMod/Makefile index c9d52e6..97606b5 100644 --- a/KonzMod/Makefile +++ b/KonzMod/Makefile @@ -10,7 +10,7 @@ continuous: $(PDF).continuous $(PDF): $(PDF).pdf %.pdf: %.tex - latexmk -jobname=$(@:%.pdf=%) -pdf $< + latexmk -jobname=konzmod_zusammenfassung -pdf $< clean: latexmk -c -f $(PDF).tex diff --git a/MatheC1/Makefile b/MatheC1/Makefile index c9d52e6..69f44a9 100644 --- a/MatheC1/Makefile +++ b/MatheC1/Makefile @@ -10,7 +10,7 @@ continuous: $(PDF).continuous $(PDF): $(PDF).pdf %.pdf: %.tex - latexmk -jobname=$(@:%.pdf=%) -pdf $< + latexmk -jobname=mathec1_zussammenfassung -pdf $< clean: latexmk -c -f $(PDF).tex diff --git a/RK/KlausurLV_SS14_September2014.tex b/RK/KlausurLV_SS14_September.tex similarity index 100% rename from RK/KlausurLV_SS14_September2014.tex rename to RK/KlausurLV_SS14_September.tex diff --git a/RK/KlausurLV_WS1415_Maerz2015.tex b/RK/KlausurLV_WS1415_Maerz.tex similarity index 100% rename from RK/KlausurLV_WS1415_Maerz2015.tex rename to RK/KlausurLV_WS1415_Maerz.tex diff --git a/RK/Makefile b/RK/Makefile index 3329e97..c629941 100644 --- a/RK/Makefile +++ b/RK/Makefile @@ -1,4 +1,4 @@ -all: KlausurLV_SS14_September2014.tex KlausurLV_WS1415_Maerz2015.tex +all: KlausurLV_SS14_September.pdf KlausurLV_WS1415_Maerz.pdf continuous: $(PDF).continuous @@ -8,12 +8,12 @@ rmpdf: @-rm -f *.pdf cleanup: - @-rm -f *.aux *.fdb_latexmk *.fls *.log + @-rm -f *.aux *.fdb_latexmk *.fls *.log *.out %.continuous: %.pdf @latexmk -quiet -jobname=$(@:%.continuous=%) -pvc -pdf $(@:%.continuous=%).tex %.pdf: %.tex - @latexmk -quiet -jobname=$(@:%.pdf=%) -pdf -halt-on-error $< 1>/dev/null + @latexmk -quiet -jobname=$(@:%.pdf=%) -pdf -halt-on-error $< .PHONY: all continuous cleanup single clean rmpdf