added CI
This commit is contained in:
		
							
								
								
									
										12
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					# This file is a template, and might need editing before it works on your project.
 | 
				
			||||||
 | 
					# use docker image with latex preinstalled
 | 
				
			||||||
 | 
					# since there is no official latex image, use https://github.com/blang/latex-docker
 | 
				
			||||||
 | 
					# possible alternative: https://github.com/natlownes/docker-latex
 | 
				
			||||||
 | 
					image: blang/latex
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					build:
 | 
				
			||||||
 | 
					  script:
 | 
				
			||||||
 | 
					    - latexmk -pdf src/main.tex
 | 
				
			||||||
 | 
					  artifacts:
 | 
				
			||||||
 | 
					    paths:
 | 
				
			||||||
 | 
					      - "*.pdf"
 | 
				
			||||||
		Reference in New Issue
	
	Block a user