mirror of
https://github.com/lowRISC/ibex.git
synced 2025-06-27 17:00:41 -04:00
[ci] Add missing dependency and fix RTD config
Cairo libraries are required for a python dependency. New RTD config introduced to fix build errors introduced by new urllib. We need to ensure the docs a built on a modern ubuntu with a sufficiently new python (see https://github.com/readthedocs/readthedocs.org/issues/10290).
This commit is contained in:
parent
1120e8ddbf
commit
10d4c97a0f
2 changed files with 22 additions and 1 deletions
20
.readthedocs.yml
Normal file
20
.readthedocs.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# .readthedocs.yaml
|
||||||
|
# Read the Docs configuration file
|
||||||
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||||
|
|
||||||
|
# Required
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
# Set the version of Python and other tools you might need
|
||||||
|
build:
|
||||||
|
os: ubuntu-22.04
|
||||||
|
tools:
|
||||||
|
python: "3.11"
|
||||||
|
|
||||||
|
# Build documentation in the docs/ directory with Sphinx
|
||||||
|
sphinx:
|
||||||
|
configuration: doc/conf.py
|
||||||
|
|
||||||
|
python:
|
||||||
|
install:
|
||||||
|
- requirements: doc/requirements.txt
|
|
@ -49,7 +49,8 @@ case "$ID-$VERSION_ID" in
|
||||||
libelf-dev \
|
libelf-dev \
|
||||||
clang-format \
|
clang-format \
|
||||||
wget \
|
wget \
|
||||||
xz-utils
|
xz-utils \
|
||||||
|
libcairo2-dev
|
||||||
|
|
||||||
wget https://storage.googleapis.com/ibex-cosim-builds/ibex-cosim-"$IBEX_COSIM_VERSION".tar.gz
|
wget https://storage.googleapis.com/ibex-cosim-builds/ibex-cosim-"$IBEX_COSIM_VERSION".tar.gz
|
||||||
$SUDO_CMD mkdir -p /tools/riscv-isa-sim
|
$SUDO_CMD mkdir -p /tools/riscv-isa-sim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue