Skip to content

Adding support for PORTABLE_PYTHON_PACKAGE Only for linux #148

Adding support for PORTABLE_PYTHON_PACKAGE Only for linux

Adding support for PORTABLE_PYTHON_PACKAGE Only for linux #148

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Instal libscientific library
run: |
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install liblapack-dev cmake python3-venv libclang-14-dev libsqlite3-dev
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
sudo make install
- name: Install libscientific python package
run: |
python -m venv lscivenv
. lscivenv/bin/activate
python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir ./src/python_bindings
- name: Build documentation
run: |
. lscivenv/bin/activate
python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
cd docs/
make html
- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/_build/html/
branch: gh-pages