Clustering: Remove old-style header guards #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# GitHub Actions for GEOS Web Pages | |
# Paul Ramsey <[email protected]> | |
# | |
name: 'Web' | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
web: | |
name: 'Build Web' | |
runs-on: ubuntu-latest | |
# Only run docbuild on central repo | |
if: github.repository == 'libgeos/geos' | |
steps: | |
- name: 'Install' | |
run: | | |
set -e | |
uname -a | |
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install make doxygen | |
- name: 'Check Out ๐' | |
uses: actions/checkout@v4 | |
- name: 'Hugo Build ๐ ' | |
# ...or replace 'master' with a full version tag, such as: v0.64.1 | |
uses: jakejarvis/[email protected] | |
with: | |
args: --source web --destination public --verbose | |
- name: 'Doxygen Build ๐ ' | |
run: | | |
set -e | |
mkdir build.cmake | |
cd build.cmake | |
cmake --version | |
cmake -DBUILD_DOCUMENTATION=YES .. | |
cmake --build . --target docs | |
- name: 'Bundle ๐ ' | |
run: | | |
mkdir -p public_html/doxygen | |
cp -ra web/public/* public_html | |
cp -ra build.cmake/doxygen/doxygen_docs/html/* public_html/doxygen | |
- name: 'Deploy ๐' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: public_html # The folder the action should deploy. | |