Skip to content

Commit

Permalink
CI: Oh, just install make
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Jun 16, 2024
1 parent 2db8dc8 commit a0dda50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/sage_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ jobs:
run: sage -python -m snappy.test

- name: Build docs
# We don't just "make html" because these images don't include make.
run: |
apt update
apt install make zip
cd /__w/SnapPy/SnapPy/doc_src
sage -python -m sphinx -b html -E -d _build/doctrees . _build/doc
cd _build
zip -rq snappy_doc.zip doc
make html
- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions doc_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ clean:
# sphinx options:
# -E forces it to rebuild the docs from scratch every time.
# -d keeps the intermediate doctree files out the html directory.
#
# This logic is duplicatd in .github/workflows/sage_test.yml
html:
$(SPHINXBUILD) -b html -E -d _build/doctrees . _build/doc
cd _build && zip -rq snappy_doc.zip doc
Expand Down

0 comments on commit a0dda50

Please sign in to comment.