2024-07-23 16:04:47 +00:00
|
|
|
# Read the Docs configuration file
|
|
|
|
|
|
|
|
version: 2
|
|
|
|
|
|
|
|
build:
|
|
|
|
os: ubuntu-22.04
|
|
|
|
tools:
|
|
|
|
python: latest
|
|
|
|
apt_packages:
|
|
|
|
- autoconf
|
|
|
|
- libtool
|
|
|
|
- automake
|
|
|
|
jobs:
|
|
|
|
pre_install:
|
|
|
|
- libtoolize
|
|
|
|
- autoreconf --install
|
|
|
|
- mkdir ./install
|
|
|
|
- ./configure --prefix=`pwd`/install
|
|
|
|
- make
|
|
|
|
- make install
|
|
|
|
- pip install cffi
|
2024-07-23 16:06:16 +00:00
|
|
|
- python ./python/src/libcpuid/_ffi_build_rtd.py ./libcpuid/libcpuid.h ./install
|
2024-07-23 16:04:47 +00:00
|
|
|
|
|
|
|
sphinx:
|
|
|
|
configuration: python/docs/conf.py
|
|
|
|
|
|
|
|
python:
|
|
|
|
install:
|
|
|
|
- requirements: python/docs/requirements.txt
|