fix compile error on gcc 13: (#4932) #307
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
name: Build and publish Doxygen documentation | |
# To test this workflow, push your changes to your fork's `develop` branch. | |
on: | |
push: | |
branches: | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
job: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
container: | |
image: docker://rippleci/rippled-ci-builder:2944b78d22db | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: check environment | |
run: | | |
echo ${PATH} | tr ':' '\n' | |
cmake --version | |
doxygen --version | |
env | sort | |
- name: build | |
run: | | |
mkdir build | |
cd build | |
cmake -Donly_docs=TRUE .. | |
cmake --build . --target docs --parallel $(nproc) | |
- name: publish | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: build/docs/html |