From 7f41e914286af155001578370542bbe609f59497 Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Thu, 21 Apr 2022 19:06:08 +0100 Subject: [PATCH] add doxygen step --- .gitlab-ci.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf46ccc..9ad3db4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ stages: # List of stages for jobs, and their order of execution .f34-ogl: image: git.fossgalaxy.com:8042/gamedev/containers/fedora:34-opengl before_script: - - dnf install -y pkgconfig\(dri\) pkgconfig\(glu\) pkgconfig\(x11\) pkgconfig\(xcursor\) pkgconfig\(xi\) pkgconfig\(xinerama\) pkgconfig\(xrandr\) + - dnf install -y pkgconfig\(dri\) pkgconfig\(glu\) pkgconfig\(x11\) pkgconfig\(xcursor\) pkgconfig\(xi\) pkgconfig\(xinerama\) pkgconfig\(xrandr\) doxygen - dnf install -y libxcb-devel libfontenc-devel libXaw-devel libXcomposite-devel libXcursor-devel libXdmcp-devel libXft-devel libXtst-devel libXinerama-devel libxkbfile-devel libXrandr-devel libXres-devel libXScrnSaver-devel libXvMC-devel xorg-x11-xtrans-devel xcb-util-wm-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-renderutil-devel libXdamage-devel libXxf86vm-devel libXv-devel xkeyboard-config-devel xcb-util-devel libuuid-devel - pip install conan @@ -39,10 +39,24 @@ build:fedora: build:debian: image: debian:stable + stage: build before_script: - - apt update && apt install -y build-essential python3 + - apt update && apt install -y build-essential python3-pip - pip install conan script: - cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug - cmake --build build +# Deploy doxygen pages +pages: + extends: .f34-ogl + stage: deploy + only: + - develop + script: + - cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug + - cmake --build build --target docs + - cp -r build/docs/html public + artifacts: + paths: + - public -- GitLab