From eb228c8c313ae6c41106b512df801e3cdace4c84 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Wed, 23 Aug 2023 16:35:31 +0200 Subject: [PATCH] ci: split pdf workflow --- .github/workflows/sphinx-build-pdf.yaml | 22 ++++++++++++++++++++++ .github/workflows/sphinx-build.yaml | 4 ---- 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/sphinx-build-pdf.yaml diff --git a/.github/workflows/sphinx-build-pdf.yaml b/.github/workflows/sphinx-build-pdf.yaml new file mode 100644 index 0000000..6465d08 --- /dev/null +++ b/.github/workflows/sphinx-build-pdf.yaml @@ -0,0 +1,22 @@ +name: build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install Requirements + run: | + pip install --upgrade pip + pip install -r requirements.txt + - name: Sphinx build - pdf + run: | + sudo apt-get install -y latexmk texlive-full + make latexpdf diff --git a/.github/workflows/sphinx-build.yaml b/.github/workflows/sphinx-build.yaml index fb995a1..1b0d417 100644 --- a/.github/workflows/sphinx-build.yaml +++ b/.github/workflows/sphinx-build.yaml @@ -19,10 +19,6 @@ jobs: - name: Sphinx build - html run: | make html - - name: Sphinx build - pdf - run: | - sudo apt-get install -y latexmk texlive-latex-extra - make latexpdf - name: Sphinx build - epub run: | make epub