Unverified Commit 91c8ede2 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

ci: use conda to render docs

[ci docs]
parent 6289944a
Pipeline #481452 failed with stages
in 8 minutes and 3 seconds
......@@ -4,13 +4,27 @@
# Build and deploy the Doxygen documentation.
# ----------------------------------------------------------------------
# https://computing.docs.ligo.org/gitlab-ci-templates/
- project: computing/gitlab-ci-templates
# https://computing.docs.ligo.org/gitlab-ci-templates/conda/
file: conda.yml
image: igwn/lalsuite-dev:bullseye
image: igwn/base:conda
# https://computing.docs.ligo.org/gitlab-ci-templates/conda/#.conda:base
extends: .conda:base
stage: documentation
needs: []
- !reference [".conda:base", "before_script"]
# install conda environment
- mamba env create -n lalsuite-docs -q -f common/conda/environment.yml
- mamba install -y -q -n lalsuite-docs --no-deps python-ligo-lw
- conda activate lalsuite-docs
- ./00boot
- ./configure --enable-doxygen --prefix=$(pwd)/_inst
- ./configure --enable-sphinx --prefix=$(pwd)/_inst
- make -j${CPU_COUNT} install-html
- mv _inst/share/doc html
- cd html
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment