mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 23:36:48 -06:00
38 lines
979 B
YAML
38 lines
979 B
YAML
name: Check PDF build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install platform dependencies
|
|
run: |
|
|
sudo apt update
|
|
sudo apt upgrade -y
|
|
sudo apt install -y build-essential python3-dev python3-pip libpq-dev libffi-dev libssl-dev libkrb5-dev zlib1g-dev latexmk texlive-latex-recommended tex-gyre texlive-latex-extra
|
|
|
|
- name: Install Python requirements
|
|
run: |
|
|
sudo pip install --upgrade pip
|
|
sudo pip install -r requirements.txt
|
|
sudo pip install "pyOpenSSL>=23.*" sphinx sphinxcontrib-youtube
|
|
|
|
- name: Check the PDF build
|
|
run: make docs-pdf
|
|
|
|
- name: Archive PDF
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: pgadmin4-pdf-build-output
|
|
path: docs/en_US/_build/latex/pgadmin4.pdf
|