DRAFT: Add a workflow to create llvm artefacts for a branch #61
Workflow file for this run
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
# Temporary for testing - move to planned_testing_caller.yml | |
name: Try out llvm artefacts | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/create_llvm_artefacts.yml' | |
- '.github/workflows/create_llvm_artefacts_caller.yml' | |
schedule: | |
# Run Mon-Fri at 7pm | |
- cron: '00 19 * * 1-5' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build_llvm_artefacts: | |
name: Call PR testing on schedule | |
# change to false and change llvm_source below to download from a previous day. | |
# if: false | |
if: ${{ (github.event_name == 'schedule' && github.repository == 'uxlfoundation/oneapi-construction-kit') || github.event_name == 'pull_request' }} | |
# permissions: | |
# actions: write | |
uses: ./.github/workflows/create_llvm_artefacts.yml | |
secrets: inherit | |
with: | |
llvm_branch: 'release/19.x' | |
llvm_branch_id: '19' | |
use_llvm_artefacts: | |
needs: [build_llvm_artefacts] | |
# if: always() && | |
# (needs.build_llvm_artefacts.result == 'success' || needs.build_llvm_artefacts.result == 'skipped') | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - name: Checkout repo | |
# uses: actions/checkout@v4 | |
# - name: set up gh | |
# uses: ./.github/actions/setup_gh | |
# with: | |
# os: ${{ contains( matrix.target, 'windows') && 'windows' || 'ubuntu' }} | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Try downloading llvm install | |
# uses: actions/download-artifact@v4 | |
# with: | |
# name: llvm-ubuntu-22.04-x86_64-19-RelAssert | |
# run-id: 13593517156 | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Try downloading llvm install | |
# uses: ./.github/actions/test_llvm_download | |
# with: | |
# # name: llvm-ubuntu-22.04-x86_64-19-RelAssert | |
# # run-id: 13593517156 | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
name: run some form of planned testing | |
uses: ./.github/workflows/planned_testing.yml | |
with: | |
target_list: '[ "host_x86_64_linux", | |
"host_aarch64_linux", | |
"host_riscv64_linux", | |
"host_i686_linux", | |
"host_refsi_linux", | |
"host_x86_64_windows" ]' | |
ock: true | |
test_tornado: false | |
test_sycl_cts: false | |
test_opencl_cts: false | |
# Override this value if we wish to use a previous llvm source | |
llvm_source: ${{ github.run_id }} | |
13703980099 | |
# | |
#13593517156 |