Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LaTeX-UTC
Templates
Rapport-TP-LaTeX-UTC
Commits
71605df7
Commit
71605df7
authored
Mar 09, 2019
by
Florent Chehab
Browse files
Test new CI
parent
58abc00d
Pipeline
#36164
passed with stages
in 24 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
71605df7
image
:
blang/latex
variables
:
GIT_SUBMODULE_STRATEGY
:
normal
building-latex-master
:
st
age
:
b
uild
pages
:
im
age
:
b
lang/latex
script
:
-
apt-get update --yes
-
apt-get install imagemagick --yes
-
apt-get install wget --yes
-
bash build.sh get_assets
-
bash build.sh make
-
make prepare_deploy
-
mv deploy public
artifacts
:
paths
:
-
main.pdf
-
latex-rapport-UTC.zip
-
main-0.png
-
main-1.png
expire_in
:
2 year
only
:
-
master
tags
:
-
docker
building-latex-other-branch
:
stage
:
build
script
:
-
apt-get update --yes
-
apt-get install imagemagick --yes
-
apt-get install wget --yes
-
bash build.sh get_assets
-
bash build.sh make
artifacts
:
paths
:
-
main.pdf
-
latex-rapport-UTC.zip
-
main-0.png
-
main-1.png
expire_in
:
2 week
except
:
-
master
-
public
expire_in
:
1 hour
# only:
# - master
tags
:
-
docker
\ No newline at end of file
.gitmodules
View file @
71605df7
[submodule "Graphismes-UTC"]
path = Graphismes-UTC
url =
git@gitlab.utc.fr:LaTeX-UTC
/Graphismes-UTC.git
url =
../..
/Graphismes-UTC.git
Makefile
View file @
71605df7
...
...
@@ -5,7 +5,6 @@ default:
preview
:
default
convert
-density
150 main.pdf
-quality
90 main.png
rm
-rf
export
*
.png
*
.zip
archive
:
rm
-rf
build
...
...
@@ -16,6 +15,12 @@ archive:
cd
build
&&
zip
-r
../latex-rapport-UTC.zip
*
prepare_deploy
:
preview archive
rm
-rf
deploy
mkdir
deploy
cp
main.pdf
latex-rapport-UTC.zip
main-0.png
main-1.png
deploy/
clean
:
latexmk
-C
rm
-rf
build
*
.png
*
.zip
rm
-rf
build
deploy
*
.png
*
.zip
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment