cron_weekly #80
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
| #-------------------------------- -*- yaml -*- ---------------------------------# | |
| # Copyright Celeritas contributors: see top-level COPYRIGHT file for details | |
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | |
| #-----------------------------------------------------------------------------# | |
| # Clear cache and rebuild it every week | |
| #-----------------------------------------------------------------------------# | |
| name: cron_weekly | |
| on: | |
| schedule: | |
| - cron: "33 06 * * 0" # Sunday at 6:33 am UTC | |
| jobs: | |
| clear-cache: | |
| uses: ./.github/workflows/clear-cache.yml | |
| build-fast: | |
| if: github.repository == 'celeritas-project/celeritas' | |
| needs: [clear-cache] | |
| uses: ./.github/workflows/build-fast.yml | |
| build-ultralite: | |
| if: github.repository == 'celeritas-project/celeritas' | |
| needs: [clear-cache] | |
| uses: ./.github/workflows/build-ultralite.yml | |
| build-spack: | |
| if: github.repository == 'celeritas-project/celeritas' | |
| needs: [clear-cache] | |
| uses: ./.github/workflows/build-spack.yml | |
| all: | |
| if: ${{always()}} | |
| needs: | |
| - build-fast | |
| - build-spack | |
| - build-ultralite | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check that all jobs succeeded | |
| uses: re-actors/alls-green@release/v1 | |
| with: | |
| jobs: ${{toJSON(needs)}} | |
| # vim: set nowrap tw=100: |