Add RPM packaging and reorganize packaging folders #186
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
# Taken from: | |
# - https://github.com/marketplace/actions/doxygen-github-pages-deploy-action | |
# - https://github.com/DenverCoder1/doxygen-github-pages-action/blob/main/action.yml | |
name: Doxygen GitHub Pages Deploy Action | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
- name: Install Doxygen and CMake | |
run: sudo apt-get install doxygen cmake -y | |
shell: bash | |
- name: Generate Doxygen Documentation | |
run: | | |
mkdir build && cd build && cmake .. -DBUILD_PROJECTWX=OFF | |
cmake --build . --target doxygen | |
shell: bash | |
- name: Create .nojekyll (ensures pages with underscores work on gh pages) | |
run: touch docs/doxygen/build/html/.nojekyll | |
shell: bash | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4.4.1 | |
with: | |
branch: gh-pages | |
folder: docs/doxygen/build/html | |