Particle Dual Memory Spaces #7440
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: documentation | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| push: | |
| branches: | |
| - "main" | |
| schedule: | |
| # GitHub recommends avoiding scheduling at the start of the hour to avoid delays; thus, a random minute is set. | |
| - cron: "54 20 * * *" | |
| timezone: "Europe/Berlin" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| doxygen: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:bf9c337f | |
| options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Check docker hash | |
| uses: ./.github/actions/compute-and-check-dependencies-hash | |
| - uses: ./.github/actions/build_4C | |
| with: | |
| cmake-preset: docker | |
| build-targets: doxygen | |
| build-directory: ${{ github.workspace }}/build | |
| use-ccache: "false" | |
| additional-cmake-flags: -DFOUR_C_ENABLE_DOXYGEN="ON" | |
| - name: Upload doxygen | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: doxygen | |
| path: ${{ github.workspace }}/build/doc/doxygen/html/ | |
| retention-days: 2 | |
| documentation: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/4c-multiphysics/4c-dependencies-ubuntu24.04:bf9c337f | |
| options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Check docker hash | |
| uses: ./.github/actions/compute-and-check-dependencies-hash | |
| - uses: ./.github/actions/build_4C | |
| with: | |
| cmake-preset: docker | |
| build-targets: documentation | |
| build-directory: ${{ github.workspace }}/build | |
| use-ccache: "true" | |
| - name: Upload documentation | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: documentation | |
| path: ${{ github.workspace }}/build/doc/documentation/html/ | |
| retention-days: 2 |