Use atomic_int for cfp_packet_counter in CAN and packet_id in ETH TX #29
Workflow file for this run
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
| name: Sphinx Docs Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - develop | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-docs: | |
| if: github.repository_owner == 'libcsp' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v6 | |
| - name: Setup packages on Linux | |
| if: ${{ runner.os == 'Linux' }} | |
| working-directory: ./doc | |
| run: | | |
| sudo apt install libclang-dev | |
| pip3 install -r requirements.txt | |
| - name: Build | |
| run: | | |
| cmake -B build-docs -S doc | |
| cmake --build build-docs | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| if: ${{ github.event_name == 'push' }} | |
| with: | |
| publish_branch: gh-pages | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./build-docs/html | |
| force_orphan: true |