mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-20 23:01:51 +00:00
9915832b21
And include them in the CI together with pylint and formatting checks.
29 lines
563 B
YAML
29 lines
563 B
YAML
# 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
|
|
- python ./python/src/libcpuid/_ffi_build_rtd.py ./libcpuid/libcpuid.h ./install
|
|
|
|
sphinx:
|
|
configuration: python/docs/conf.py
|
|
|
|
python:
|
|
install:
|
|
- requirements: python/docs/requirements.txt
|