Skip to content

Commit a21538b

Browse files
Tidy artefact creation and flip to artefact build.
1 parent 16b65f7 commit a21538b

File tree

2 files changed

+4
-64
lines changed

2 files changed

+4
-64
lines changed

.github/workflows/create_opencl_cts_artefact.yml

Lines changed: 2 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,9 @@ name: Create an cache OpenCL-CTS artefact
55
on:
66
# ALAN TODO: set to pull_request to build in PR.
77
# for production restore workflow_dispatch - and usage of all inputs
8-
workflow_dispatch:
9-
#pull_request:
8+
#workflow_dispatch:
9+
pull_request:
1010
inputs:
11-
llvm_version:
12-
required: false
13-
type: string
14-
description: 'llvm major version (e.g 19,20, main) - to be used for llvm specific fails'
15-
default: 19
16-
llvm_branch:
17-
required: false
18-
type: string
19-
description: 'The actual llvm branch to check out e.g. release/19.x'
20-
default: 'release/19.x'
21-
download_ock_artefact:
22-
required: false
23-
type: string
24-
description: 'download ock artefact rather than building, of form <target>=id;<target2=id2>.'
25-
default: ''
26-
llvm_source:
27-
required: false
28-
type: string
29-
description: 'method of sourcing llvm (install, cache or run-id)'
30-
default: 'cache'
31-
use_llvm_github_cache:
32-
required: false
33-
type: boolean
34-
description: 'Use a cache for any llvm artifact fetching and update if not found'
35-
default: true
3611
header_ref:
3712
required: false
3813
type: string
@@ -54,41 +29,6 @@ permissions:
5429

5530
jobs:
5631

57-
build_llvm_artefact:
58-
if: false
59-
name: Create llvm artefact
60-
uses: ./.github/workflows/create_llvm_artefacts.yml
61-
secrets: inherit
62-
with:
63-
llvm_branch: ${{ inputs.llvm_branch || 'release/19.x' }}
64-
llvm_version: ${{ inputs.llvm_version || '19' }}
65-
use_github_cache: ${{ inputs.use_llvm_github_cache || true }}
66-
target_list: '[ "host_x86_64_linux" ]'
67-
68-
create_ock_artefact:
69-
if: false
70-
name: Create ock artefact
71-
needs: [ build_llvm_artefact ]
72-
runs-on: 'ubuntu-22.04'
73-
container:
74-
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest'
75-
volumes:
76-
- ${{github.workspace}}:${{github.workspace}}
77-
steps:
78-
- name: Checkout repo
79-
uses: actions/checkout@v4
80-
- uses: ./.github/actions/setup_gh
81-
with:
82-
os: 'ubuntu'
83-
token: ${{ secrets.GITHUB_TOKEN }}
84-
- name: build ock artefact
85-
uses: ./.github/actions/do_build_ock_artefact
86-
with:
87-
target: 'host_x86_64_linux'
88-
llvm_version: ${{ inputs.llvm_version || '19' }}
89-
download_ock_artefact: ${{ inputs.download_ock_artefact || '' }}
90-
llvm_source: ${{ inputs.llvm_source || 'cache' }}
91-
9232
build_icd:
9333
name: Create ICD artefact
9434
runs-on: 'ubuntu-22.04'

.github/workflows/planned_testing_caller_19.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: run planned tests for llvm 19
22
on:
33
# Temporarily disable planned tests by using workflow_dispatch
4-
pull_request:
5-
#workflow_dispatch:
4+
#pull_request:
5+
workflow_dispatch:
66
paths:
77
- '.github/workflows/planned_testing_caller_19.yml'
88
schedule:

0 commit comments

Comments
 (0)