[ci] use Makefile

This commit is contained in:
Unai Martinez-Corral
2023-03-28 18:09:22 +02:00
parent 17936f75aa
commit 5f64430148
2 changed files with 4 additions and 8 deletions

View File

@@ -15,8 +15,7 @@ jobs:
- master
- stable
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
@@ -25,10 +24,8 @@ jobs:
sudo pip3 install -r requirements.txt
sudo pip3 install codespell
# Build the HTML to upload it.
- name: Sphinx build
run: |
sphinx-build --color -d _build/doctrees . _build/html
- name: Sphinx build HTML
run: make SPHINXOPTS='--color' html
- uses: actions/upload-artifact@v3
with:

View File

@@ -25,5 +25,4 @@ jobs:
# Use dummy builder to improve performance as we don't need the generated HTML in this workflow.
- name: Sphinx build
run: |
sphinx-build --color -b dummy -d _build/doctrees -W . _build/html
run: make SPHINXOPTS='--color -W' dummy