|
| 1 | +name: run planned tests for llvm 21 |
| 2 | +on: |
| 3 | + pull_request: |
| 4 | + paths: |
| 5 | + - '.github/workflows/planned_testing_caller_21.yml' |
| 6 | + schedule: |
| 7 | + # Run Tue, Fri at 7pm |
| 8 | + - cron: '0 19 * * 2,5' |
| 9 | + |
| 10 | +permissions: |
| 11 | + packages: read |
| 12 | + |
| 13 | +# To add another llvm planned testing, simply copy this file and set the llvm_version and llvm_branch variables |
| 14 | +# llvm_version is only used for tagging purposes, although ideally would be a number or main |
| 15 | +# We may want to delete the lowest version for planned_testing_caller_*.yml at that time. |
| 16 | +# If it is known to be unchanging, then set the 'use_llvm_github_cache: true' as an input to planned_testing_caller.yml/ |
| 17 | + |
| 18 | +# Note this will not affect normal PR runs which will require run_pr_tests_caller.yml to be updated. |
| 19 | + |
| 20 | +concurrency: |
| 21 | + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 22 | + cancel-in-progress: true |
| 23 | + |
| 24 | +jobs: |
| 25 | + # This makes the diagram too big if we post much here so L21_ is used. |
| 26 | + L21_: |
| 27 | + if: github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule' |
| 28 | + uses: ./.github/workflows/planned_testing_caller.yml |
| 29 | + with: |
| 30 | + llvm_version: '21' |
| 31 | + llvm_branch: 'release/21.x' |
| 32 | + save_cache: ${{ github.event_name == 'schedule' }} |
| 33 | + # We can set ock, test_sycl_cts etc here optionally if this is used as a |
| 34 | + # pull request. Any parameters below this is intended for local testing |
| 35 | + # and should not be merged nor reviewed (other than checking it should not be merged). |
| 36 | + |
| 37 | + # This cleans up any caches which may have been created when running external tests |
| 38 | + clean_caches: |
| 39 | + needs: [ L21_ ] |
| 40 | + if: github.repository == 'uxlfoundation/oneapi-construction-kit' && github.event_name == 'schedule' && always() |
| 41 | + runs-on: ubuntu-latest |
| 42 | + permissions: |
| 43 | + actions: write # for gh cache delete |
| 44 | + steps: |
| 45 | + - name: Checkout repo |
| 46 | + uses: actions/checkout@v4 |
| 47 | + with: |
| 48 | + sparse-checkout: .github |
| 49 | + - name: Cache clean |
| 50 | + uses: ./.github/actions/clean_cache |
| 51 | + with: |
| 52 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 53 | + cache_prefixes: "ccache-ccache-dpcpp-build-host_x86_64_linux ccache-ccache-dpcpp-build-host_aarch64_linux ccache-ccache-dpcpp-build-host_riscv64_linux" |
0 commit comments