forked from seoklab/nurikit
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.readthedocs.yaml
52 lines (46 loc) · 1.09 KB
/
.readthedocs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# Project NuriKit - Copyright 2024 SNU Compbio Lab.
# SPDX-License-Identifier: Apache-2.0
#
version: 2
submodules:
include: all
build:
os: ubuntu-22.04
tools:
python: "mambaforge-23.11"
apt_packages:
- build-essential
- ninja-build
- doxygen
- graphviz
jobs:
post_checkout:
- (git show -s --format='%an' | grep -vq '\[bot\]$') || exit 183
pre_install:
- |
cmake -S . -B pre-install -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DNURI_BUILD_PYTHON=ON \
-DNURI_ENABLE_IPO=OFF \
-DNURI_OPTIMIZATION_LEVEL=O0
post_install:
- cmake --build pre-install --target clean
pre_build:
- |
cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DNURI_BUILD_PYTHON=ON \
-DNURI_ENABLE_IPO=OFF \
-DNURI_OPTIMIZATION_LEVEL=O0
- cmake --build build --target nuri_docs
conda:
environment: docs/environment.yaml
python:
install:
- method: pip
path: "."
extra_requirements:
- docs
sphinx:
configuration: "python/docs/conf.py"