diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-07-09 00:12:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-09 00:12:32 +0200 |
| commit | 24624869b426b6e436697ee4f7b116f5db823c66 (patch) | |
| tree | 50a4e9ee103a3f9f0eb805a6dea3b5756463c96f | |
| parent | cf3caffd458d3ad6122c47e58799c98cf865e1b6 (diff) | |
| parent | b5e13c2118a430758819fe097dfda48023f1089a (diff) | |
| download | PROJ-24624869b426b6e436697ee4f7b116f5db823c66.tar.gz PROJ-24624869b426b6e436697ee4f7b116f5db823c66.zip | |
Merge pull request #2298 from rouault/gh_workflows_doc_build
Move doc building (without deployment) to github action
| -rw-r--r-- | .github/workflows/doc_build.yml | 21 | ||||
| -rwxr-xr-x | travis/osx/before_install.sh | 14 |
2 files changed, 28 insertions, 7 deletions
diff --git a/.github/workflows/doc_build.yml b/.github/workflows/doc_build.yml new file mode 100644 index 00000000..4a919fa8 --- /dev/null +++ b/.github/workflows/doc_build.yml @@ -0,0 +1,21 @@ +name: Doc building + +on: [push, pull_request] + +jobs: + + doc_building: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install Requirements + run: | + sudo apt update + sudo apt install -y python3-pip python3-setuptools python3-dev python3-wheel doxygen gcc + sudo pip3 install sphinx sphinx-rtd-theme sphinxcontrib-bibtex breathe + + - name: Build doc + run: | + (cd docs; make html) diff --git a/travis/osx/before_install.sh b/travis/osx/before_install.sh index 4c3dbdb2..5af2fd7a 100755 --- a/travis/osx/before_install.sh +++ b/travis/osx/before_install.sh @@ -4,19 +4,19 @@ set -e export PATH=$HOME/Library/Python/3.7/bin:$PATH -brew unlink python@2 -brew update +#brew unlink python@2 +#brew update brew install ccache #brew upgrade sqlite3 #brew upgrade libtiff -brew install doxygen graphviz +#brew install doxygen graphviz #brew install md5sha1sum #brew reinstall python -brew reinstall wget +#brew reinstall wget ./travis/before_install_pip.sh -pip3 install --user sphinx sphinx-rtd-theme sphinxcontrib-bibtex breathe -which sphinx-build +# pip3 install --user sphinx sphinx-rtd-theme sphinxcontrib-bibtex breathe +# which sphinx-build -(cd docs; make html) +# (cd docs; make html) |
