Skip to content

Bump docker/setup-buildx-action from 3 to 4 #382

Bump docker/setup-buildx-action from 3 to 4

Bump docker/setup-buildx-action from 3 to 4 #382

Workflow file for this run

name: Build documentation
on:
pull_request:
branches: [main]
workflow_call:
workflow_dispatch:
env:
DEB_PYTHON_INSTALL_LAYOUT: deb_system
DISPLAY: ":99.0"
CI: 1
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/fenics/dolfinx/lab:v0.10.0
env:
PUBLISH_DIR: ./build
PYVISTA_OFF_SCREEN: false
PYVISTA_JUPYTER_BACKEND: "html"
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies for pyvista
run: apt-get update && apt-get install -y libxrender1
- name: Install dependencies
run: |
python3 -m pip install -r https://raw.githubusercontent.com/scientificcomputing/scifem/refs/heads/main/build-requirements.txt
python3 -m pip install scifem --no-build-isolation
python3 -m pip install ".[docs]"
- name: Build docs
run: python3 -m sphinx -b html . build
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: ${{ env.PUBLISH_DIR }}