chore: enabled drone ci
This commit is contained in:
parent
22b0abdba7
commit
b7f418ff76
66
.drone.yml
66
.drone.yml
@ -10,53 +10,30 @@ steps:
|
|||||||
|
|
||||||
- name: Build UPDS-1
|
- name: Build UPDS-1
|
||||||
commands:
|
commands:
|
||||||
- cd upds-1
|
- cd projectsynopsis
|
||||||
- pdflatex UPDS12-1.tex
|
- pdflatex project-synopsis.tex
|
||||||
# Prepare bib
|
# Prepare bib
|
||||||
- /usr/bin/vendor_perl/biber UPDS12-1
|
- /usr/bin/vendor_perl/biber project-synopsis
|
||||||
# Compile twice for the table of contents and for bib text
|
# Compile twice for the table of contents and for bib text
|
||||||
- pdflatex UPDS12-1.tex
|
- pdflatex project-synopsis.tex
|
||||||
- cd -
|
- cd -
|
||||||
|
|
||||||
- name: Build UPDS-2
|
# - name: Build Report
|
||||||
commands:
|
# commands:
|
||||||
- cd upds-2
|
# - cd report
|
||||||
- pdflatex UPDS12-2.tex
|
# - cp ../upds-1/UPDS-content.tex UPDS-1-content.tex
|
||||||
# Prepare bib
|
# - cp ../upds-2/UPDS-content.tex UPDS-2-content.tex
|
||||||
- /usr/bin/vendor_perl/biber UPDS12-2
|
# - pdflatex report.tex
|
||||||
# Compile twice for the table of contents and for bib text
|
# # Prepare bib
|
||||||
- pdflatex UPDS12-2.tex
|
# - /usr/bin/vendor_perl/biber report
|
||||||
- cd -
|
# # Compile twice for the table of contents and for bib text
|
||||||
|
# - pdflatex report.tex
|
||||||
- name: Build Report
|
# - cd -
|
||||||
commands:
|
#
|
||||||
- cd report
|
# - name: Generate text
|
||||||
- cp ../upds-1/UPDS-content.tex UPDS-1-content.tex
|
# commands:
|
||||||
- cp ../upds-2/UPDS-content.tex UPDS-2-content.tex
|
# - pnpm i
|
||||||
- pdflatex report.tex
|
# - pnpm ts-node main.ts report/report.tex
|
||||||
# Prepare bib
|
|
||||||
- /usr/bin/vendor_perl/biber report
|
|
||||||
# Compile twice for the table of contents and for bib text
|
|
||||||
- pdflatex report.tex
|
|
||||||
- cd -
|
|
||||||
|
|
||||||
- name: Build Poster
|
|
||||||
commands:
|
|
||||||
- cd poster
|
|
||||||
- echo -e "\n\n\nFirst 1\n\n\n"
|
|
||||||
- pdflatex poster.tex || cat poster.log
|
|
||||||
# Prepare bib
|
|
||||||
- echo -e "\n\n\nFirst 2\n\n\n"
|
|
||||||
- /usr/bin/vendor_perl/biber poster
|
|
||||||
# Compile twice for the table of contents and for bib text
|
|
||||||
- echo -e "\n\n\nFirst 3\n\n\n"
|
|
||||||
- pdflatex poster.tex
|
|
||||||
- cd -
|
|
||||||
|
|
||||||
- name: Generate text
|
|
||||||
commands:
|
|
||||||
- pnpm i
|
|
||||||
- pnpm ts-node main.ts report/report.tex
|
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
environment:
|
environment:
|
||||||
@ -65,7 +42,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
|
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
|
||||||
- tea r rm -y current || echo "Release not found"
|
- tea r rm -y current || echo "Release not found"
|
||||||
- tea r c --title "Latest Report" --asset report/report.pdf --asset upds-1/UPDS12-1.pdf --asset upds-2/UPDS12-2.pdf --asset results.txt --asset poster/poster.pdf current
|
# - tea r c --title "Latest Report" --asset report/report.pdf --asset upds-1/UPDS12-1.pdf --asset upds-2/UPDS12-2.pdf --asset results.txt --asset poster/poster.pdf current
|
||||||
|
- tea r c --title "Latest Report" --asset projectsynopsis/project-synopsis.pdf current
|
||||||
|
|
||||||
- name: Remove current on failure
|
- name: Remove current on failure
|
||||||
environment:
|
environment:
|
||||||
|
65
projectsynopsis/project-synopsis.tex
Normal file
65
projectsynopsis/project-synopsis.tex
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
%%% Preamble
|
||||||
|
\documentclass[11pt, a4paper]{article}
|
||||||
|
|
||||||
|
\usepackage[english]{babel} % English language/hyphenation
|
||||||
|
\usepackage{url}
|
||||||
|
\usepackage{tabularx}
|
||||||
|
\usepackage{pdfpages}
|
||||||
|
\usepackage{float}
|
||||||
|
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\graphicspath{ {../images for report/} }
|
||||||
|
|
||||||
|
\usepackage{hyperref}
|
||||||
|
\hypersetup{
|
||||||
|
colorlinks,
|
||||||
|
citecolor=black,
|
||||||
|
filecolor=black,
|
||||||
|
linkcolor=black,
|
||||||
|
urlcolor=black
|
||||||
|
}
|
||||||
|
|
||||||
|
\usepackage{cleveref}
|
||||||
|
|
||||||
|
%%% Custom headers/footers (fancyhdr package)
|
||||||
|
\usepackage{fancyhdr}
|
||||||
|
\pagestyle{fancyplain}
|
||||||
|
\fancyhead{} % No page header
|
||||||
|
\fancyfoot[L]{} % Empty
|
||||||
|
\fancyfoot[C]{\thepage} % Pagenumbering
|
||||||
|
\fancyfoot[R]{} % Empty
|
||||||
|
\renewcommand{\headrulewidth}{0pt} % Remove header underlines
|
||||||
|
\renewcommand{\footrulewidth}{0pt} % Remove footer underlines
|
||||||
|
\setlength{\headheight}{13.6pt}
|
||||||
|
|
||||||
|
\usepackage[style=numeric,sorting=none,backend=biber]{biblatex}
|
||||||
|
\addbibresource{../main.bib}
|
||||||
|
|
||||||
|
\title{
|
||||||
|
\normalfont \normalsize \textsc{University of Surrey} \\ %[25pt]
|
||||||
|
\Huge Final year project \\
|
||||||
|
}
|
||||||
|
\author{
|
||||||
|
\normalfont \normalsize
|
||||||
|
Andre Henriques\\[-3pt] \normalsize
|
||||||
|
\today
|
||||||
|
}
|
||||||
|
\date{}
|
||||||
|
|
||||||
|
%%% Begin document
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
\newpage
|
||||||
|
|
||||||
|
\tableofcontents
|
||||||
|
\newpage
|
||||||
|
|
||||||
|
\section{Introduction}
|
||||||
|
|
||||||
|
\newpage
|
||||||
|
\section{References}
|
||||||
|
\printbibliography[heading=none]
|
||||||
|
|
||||||
|
% TODO add my job title
|
||||||
|
\end{document}
|
Loading…
Reference in New Issue
Block a user