Better formatting #42
This file contains hidden or 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
| ##====================================================================================================================== | |
| ## SPY - Informations Broker | |
| ## Copyright : SPY Project Contributors | |
| ## SPDX-License-Identifier: BSL-1.0 | |
| ##====================================================================================================================== | |
| name: SPY Documentation Generation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| generate-doc: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/jfalcou/compilers:v9 | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Fetch current branch | |
| uses: actions/checkout@v4.1.1 | |
| - name: Prepare SPY | |
| run: | | |
| mkdir build && cd build | |
| cmake .. -G Ninja -DSPY_BUILD_TEST=OFF -DSPY_BUILD_DOCUMENTATION=ON | |
| - name: Generate Doxygen | |
| run: | | |
| cd build | |
| ninja spy-doxygen | |
| - name: Deploy to gh-pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./build/doc |