ci: switch to archlinux for documentation stage

This commit is contained in:
Tommaso Pecorella
2021-05-09 21:25:01 +00:00
parent d194fe3756
commit 5beeda40a2

View File

@@ -4,13 +4,13 @@
.doc:
stage: documentation
before_script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
- apt-get install -y doxygen graphviz make imagemagick dia texlive texlive-font-utils python3-sphinx latexmk texlive texlive-science texlive-formats-extra texlive-base python3-jinja2 python3-pygments texlive-fonts-extra
- apt-get --quiet install git gcc g++ python python3 python-dev qt5-default openmpi-bin openmpi-common openmpi-doc libopenmpi-dev gsl-bin libgsl-dev ccache flex bison libfl-dev sqlite sqlite3 libsqlite3-dev libxml2 libxml2-dev libgtk-3-dev libboost-all-dev --yes
- sed -i "s/EPS,PDF,//g" /etc/ImageMagick-6/policy.xml
- sed -i "s/none/read\ |\ write/g" /etc/ImageMagick-6/policy.xml
image: ubuntu
- pacman -Syu --noconfirm
- pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost --noconfirm
- pacman -Sy git doxygen graphviz imagemagick dia texlive-core texlive-bin texlive-latexextra python-sphinx --noconfirm
- sed -i "s/EPS,PDF,//g" /etc/ImageMagick-7/policy.xml
- sed -i "s/none/read\ |\ write/g" /etc/ImageMagick-7/policy.xml
image: archlinux
timeout: 2h
# artifacts:
# paths:
# - public