Count FLOPs and HitRate inside functor and output them to a log file #1572
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
# Workflow for generating, checking, and deploying our doxygen documentation. | |
name: Doxygen | |
# This Workflow is triggered by any PR or a direct push to master. | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
# abort old runs if a new one is started | |
concurrency: | |
group: ${{ github.head_ref }}-doxygen | |
cancel-in-progress: true | |
jobs: | |
DoxygenCheck: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
config: [ "", _md-flexible ] | |
name: DocumentationCheck AutoPas${{ matrix.config }} | |
env: | |
# this is currently dictated by the autopas-build-doxygen container | |
BUILD_DIR: docker-build-doxygen | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build documentation | |
# writes all warnings to warnings.out | |
uses: docker://autopas/autopas-build-doxygen | |
with: | |
entrypoint: buildDocumentation.sh | |
# arg1 make target | |
# arg2 path to root of AutoPas directory. | |
args: doc_doxygen${{ matrix.config }} . | |
- name: Deploy documentation (only on master) | |
uses: peaceiris/actions-gh-pages@v3.7.2 | |
if: github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./${{ env.BUILD_DIR }}/doc_doxygen${{ matrix.config }}/html/ # from dir | |
destination_dir: doxygen_documentation${{ matrix.config }}/git-master/ # to dir | |
external_repository: AutoPas/AutoPas.github.io | |
publish_branch: main | |
user_name: github-actions[bot] | |
user_email: github-actions[bot]@users.noreply.github.com |