-
Notifications
You must be signed in to change notification settings - Fork 47
605 lines (568 loc) · 22.6 KB
/
Copy pathrun_ock_external_tests.yml
File metadata and controls
605 lines (568 loc) · 22.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
# Simple workflow for running external tests
name: Run external tests
on:
workflow_call:
inputs:
ock:
required: false
type: boolean
description: 'Enable ock artefact building'
default: true
test_tornado:
required: false
type: boolean
description: 'Enable testing tornado'
default: true
test_remote_hal:
required: false
type: boolean
description: 'Enable testing remote_hal'
default: true
test_sanitizers:
required: false
type: boolean
description: 'Enable testing sanitizers'
default: true
test_sycl_cts:
required: false
type: boolean
description: 'Enable testing sycl-cts'
default: true
test_sycl_e2e:
required: false
type: boolean
description: 'Enable testing sycl-e2e'
default: true
test_opencl_cts:
required: false
type: boolean
description: 'Enable testing opencl-cts'
default: true
target_list:
required: false
description: 'List of enabled targets'
type: string
llvm_version:
required: false
type: string
description: 'llvm major version (e.g 20,21,main) - to be used for llvm specific fails'
default: 20
llvm_branch:
required: false
type: string
description: 'The actual llvm branch to check out e.g. release/20.x'
default: 'release/20.x'
download_ock_artefact:
required: false
type: string
description: 'download ock artefact rather than building, of form <target>=id;<target2=id2>.'
default: ''
download_dpcpp_artefact:
required: false
type: string
description: 'download dpcpp from previous artefact run e.g. host_x86_64_linux=12915462445;host_aarch64_linux=12915462445'
default: ''
download_sycl_cts_artefact:
required: false
type: string
description: 'download sycl cts from previous artefact run e.g. host_x86_64_linux=12915462445;host_aarch64_linux=12915462445'
default: ''
llvm_source:
required: false
type: string
description: 'method of sourcing llvm (install, cache or run-id)'
default: 'cache'
save_cache:
required: false
type: boolean
description: 'save any caches required during building of any artefacts (usually on main only)'
default: false
dpcpp_repo_pr_no:
required: false
type: string
description: 'dpc++ repo ref: enter PR number (else default branch is used)'
default: ""
permissions:
packages: read
jobs:
# Calculate some useful variables that can be used through the workflow
# Currently this can be used to exclude all but certain targets in matrices
workflow_vars:
runs-on: ubuntu-22.04
outputs:
matrix_only_linux_x86_64_aarch64_riscv64: ${{ steps.vars.outputs.matrix_only_linux_x86_64_aarch64_riscv64 }}
matrix_only_linux_x86_64_aarch64: ${{ steps.vars.outputs.matrix_only_linux_x86_64_aarch64 }}
matrix_only_linux_x86_64: ${{ steps.vars.outputs.matrix_only_linux_x86_64 }}
matrix_only_linux_aarch64: ${{ steps.vars.outputs.matrix_only_linux_aarch64 }}
matrix_only_linux_riscv64: ${{ steps.vars.outputs.matrix_only_linux_riscv64 }}
steps:
- id: vars
# TODO: If we expand on this, come up with a more programmatical way of doing only certain targets.
# These variables are for excluding certain targets from the total list, which is why just including
# certain targets involves a long list of excludes
run: |
echo matrix_only_linux_x86_64_aarch64_riscv64="[ \
{\"target\": \"host_arm_linux\"}, \
{\"target\": \"refsi_riscv64_linux\"}, \
{\"target\": \"host_i686_linux\"}, \
{\"target\": \"host_x86_64_windows\"}]" >> $GITHUB_OUTPUT
echo matrix_only_linux_x86_64_aarch64="[ \
{\"target\": \"host_arm_linux\"}, \
{\"target\": \"host_riscv64_linux\"}, \
{\"target\": \"refsi_riscv64_linux\"}, \
{\"target\": \"host_i686_linux\"}, \
{\"target\": \"host_x86_64_windows\"}]" >> $GITHUB_OUTPUT
echo matrix_only_linux_x86_64="[ \
{\"target\": \"host_aarch64_linux\"}, \
{\"target\": \"host_riscv64_linux\"}, \
{\"target\": \"host_arm_linux\"}, \
{\"target\": \"refsi_riscv64_linux\"}, \
{\"target\": \"host_i686_linux\"}, \
{\"target\": \"host_x86_64_windows\"}]" >> $GITHUB_OUTPUT
echo matrix_only_linux_aarch64="[ \
{\"target\": \"host_x86_64_linux\"}, \
{\"target\": \"host_riscv64_linux\"}, \
{\"target\": \"host_arm_linux\"}, \
{\"target\": \"refsi_riscv64_linux\"}, \
{\"target\": \"host_i686_linux\"}, \
{\"target\": \"host_x86_64_windows\"}]" >> $GITHUB_OUTPUT
echo matrix_only_linux_riscv64="[ \
{\"target\": \"host_x86_64_linux\"}, \
{\"target\": \"host_aarch64_linux\"}, \
{\"target\": \"host_arm_linux\"}, \
{\"target\": \"refsi_riscv64_linux\"}, \
{\"target\": \"host_i686_linux\"}, \
{\"target\": \"host_x86_64_windows\"}]" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
create_ock_artefacts_windows:
needs: [workflow_vars]
# Currently there is only one windows target so we don't bother with the
# matrix, just check if it's enabled
runs-on: windows-2025
if: inputs.ock && contains(inputs.target_list, 'host_x86_64_windows')
steps:
- name: Checkout repo
uses: actions/checkout@v6
# Todo: move to a common place e.g. setup_build
- name: Setup Windows llvm base
uses: llvm/actions/setup-windows@a1ea791b03c8e61f53a0e66f2f73db283aa0f01e # main branch
with:
arch: amd64
- name: build ock artefact
uses: ./.github/actions/do_build_ock_artefact
with:
target: host_x86_64_windows
llvm_version: ${{ inputs.llvm_version }}
llvm_source: ${{ inputs.llvm_source }}
create_ock_artefacts_ubuntu:
needs: [workflow_vars]
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
target: ${{ fromJson(inputs.target_list) }}
exclude: ${{ fromJson(needs.workflow_vars.outputs.matrix_only_linux_x86_64_aarch64_riscv64) }}
# risc-v needs ubuntu 24.04 so we get the latest qemu as well as how we
# build llvm. Otherwise we choose ubuntu-22.04 (use a container for both for consistency).
runs-on: ${{ contains(matrix.target, 'host_aarch64') && 'ubuntu-22.04-arm' || (contains(matrix.target, 'host_riscv64') && 'ubuntu-24.04' || 'ubuntu-22.04') }}
container:
image: ${{ contains(matrix.target, 'host_riscv') && 'ghcr.io/uxlfoundation/ock_ubuntu_24.04-x86-64:latest'
|| ( contains(matrix.target, 'host_aarch64') && 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-aarch64:latest'
|| 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest' ) }}
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: inputs.ock && contains(inputs.target_list, 'linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- uses: ./.github/actions/setup_gh
with:
os: ${{ contains( matrix.target, 'windows') && 'windows' || 'ubuntu' }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: build ock artefact
uses: ./.github/actions/do_build_ock_artefact
with:
target: ${{ matrix.target }}
llvm_version: ${{ inputs.llvm_version }}
download_ock_artefact: ${{ inputs.download_ock_artefact }}
llvm_source: ${{ inputs.llvm_source }}
build_icd:
if: inputs.ock && ( inputs.test_tornado || inputs.test_opencl_cts || inputs.test_sycl_cts || inputs.test_sycl_e2e) && contains(inputs.target_list, 'linux')
needs: [workflow_vars]
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
target: ${{ fromJson(inputs.target_list) }}
exclude: ${{ fromJson(needs.workflow_vars.outputs.matrix_only_linux_x86_64_aarch64_riscv64) }}
runs-on: ${{ contains(matrix.target, 'host_aarch64') && 'ubuntu-22.04-arm' || (contains(matrix.target, 'host_riscv64') && 'ubuntu-24.04' || 'ubuntu-22.04') }}
container:
image: ${{ contains(matrix.target, 'host_riscv') && 'ghcr.io/uxlfoundation/ock_ubuntu_24.04-x86-64:latest'
|| ( contains(matrix.target, 'host_aarch64') && 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-aarch64:latest'
|| 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest' ) }}
volumes:
- ${{github.workspace}}:${{github.workspace}}
steps:
- name: clone ock platform
uses: actions/checkout@v6
with:
sparse-checkout: |
platform
.github
- name : build and upload icd ${{matrix.target}}
uses: ./.github/actions/do_build_icd
with:
target: ${{matrix.target}}
build_run_sanitizers:
if: inputs.test_sanitizers
needs: [ workflow_vars ]
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
san_type: [ 'tsan', 'aubsan' ]
# sanitizer jobs are long-running in their original format and close to the
# default job timeout value. Splitting into part1/part2 trims c.45 mins from
# total matrix run time across all jobs.
part_id: [ 'part1', 'part2' ]
runs-on: 'ubuntu-22.04'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: setup-ubuntu
uses: ./.github/actions/setup_build
with:
llvm_version: ${{ inputs.llvm_version }}
llvm_source: ${{ inputs.llvm_source}}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name : build run sanitizers
uses: ./.github/actions/do_build_run_sanitizers
with:
san_type: ${{ matrix.san_type }}
part_id: ${{ matrix.part_id }}
llvm_branch: ${{ inputs.llvm_branch }}
build_run_remote_hal:
if: inputs.test_remote_hal
needs: [ workflow_vars ]
runs-on: 'ubuntu-24.04'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_24.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: setup-ubuntu
uses: ./.github/actions/setup_build
with:
llvm_version: ${{ inputs.llvm_version }}
llvm_source: ${{ inputs.llvm_source}}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name : build run remote_hal
uses: ./.github/actions/do_build_run_remote_hal
# Currently only builds and runs on x86_64 linux
build_run_tornado:
if: inputs.test_tornado
needs: [ workflow_vars, build_icd, create_ock_artefacts_ubuntu ]
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
target: ${{ fromJson(inputs.target_list) }}
exclude: ${{ fromJson(needs.workflow_vars.outputs.matrix_only_linux_x86_64_aarch64) }}
runs-on: ${{ matrix.target == 'host_x86_64_linux' && 'ubuntu-22.04' || 'ubuntu-22.04-arm' }}
steps:
- name: clone ock platform
uses: actions/checkout@v6
with:
sparse-checkout: |
platform
.github
# TODO: Consider separating out tornado build and run in the future
- name : build and upload tornado
uses: ./.github/actions/do_build_tornado
with:
target: ${{ matrix.target }}
- name : run tornado
uses: ./.github/actions/run_tornado
with:
target: ${{ matrix.target }}
build_run_opencl_cts_x86_64_aarch64:
if: inputs.test_opencl_cts && (contains(inputs.target_list, 'host_x86_64_linux') || contains(inputs.target_list, 'host_aarch64_linux'))
needs: [ workflow_vars, build_icd, create_ock_artefacts_ubuntu ]
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
target: ${{ fromJson(inputs.target_list) }}
exclude: ${{ fromJson(needs.workflow_vars.outputs.matrix_only_linux_x86_64_aarch64) }}
runs-on: ${{ contains(matrix.target, 'host_aarch64') && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
container:
image: ${{ contains(matrix.target, 'host_riscv') && 'ghcr.io/uxlfoundation/ock_ubuntu_24.04-x86-64:latest'
|| ( contains(matrix.target, 'host_aarch64') && 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-aarch64:latest'
|| 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest' ) }}
volumes:
- ${{github.workspace}}:${{github.workspace}}
steps:
- name: clone ock
uses: actions/checkout@v6
with:
# scripts: for run_cities.py
# source: for CTS filter.csv files
# platform: for toolchain files
sparse-checkout: |
scripts
source
platform
.github
# TODO: Consider separating out opencl_cts build and run in the future
- name : build and upload opencl_cts
uses: ./.github/actions/do_build_opencl_cts
with:
target: ${{ matrix.target }}
- name : run opencl_cts
uses: ./.github/actions/run_opencl_cts
with:
target: ${{ matrix.target }}
llvm_version: ${{ inputs.llvm_version }}
build_opencl_cts_riscv64:
if: inputs.test_opencl_cts && (contains(inputs.target_list, 'host_riscv64_linux'))
needs: [ workflow_vars, build_icd, create_ock_artefacts_ubuntu ]
runs-on: 'ubuntu-24.04'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_24.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
steps:
- name: clone ock
uses: actions/checkout@v6
with:
# scripts: for run_cities.py
# source: for CTS filter.csv files
# platform: for toolchain files
# .github for actions
sparse-checkout: |
scripts
source
platform
.github
- name : build and upload opencl_cts
uses: ./.github/actions/do_build_opencl_cts
with:
target: host_riscv64_linux
run_opencl_cts_riscv64:
if: inputs.test_opencl_cts && (contains(inputs.target_list, 'host_riscv64_linux'))
needs: [ workflow_vars, build_icd, create_ock_artefacts_ubuntu, build_opencl_cts_riscv64 ]
runs-on: 'ubuntu-24.04'
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
split_index: [ 0, 1 ]
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_24.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
steps:
- name: clone ock
uses: actions/checkout@v6
with:
# scripts: for run_cities.py
# source: for CTS filter.csv files
# platform: for toolchain files
# .github for actions
sparse-checkout: |
scripts
source
platform
.github
- name : run opencl_cts
uses: ./.github/actions/run_opencl_cts
with:
target: host_riscv64_linux
llvm_version: ${{ inputs.llvm_version }}
split_index: ${{ matrix.split_index }}
build_dpcpp_native_x86_64:
needs: [workflow_vars]
runs-on: 'ubuntu-24.04'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: (inputs.test_sycl_cts || inputs.test_sycl_e2e) && ( contains(inputs.target_list, 'host_x86_64_linux') || contains(inputs.target_list, 'host_riscv64_linux') )
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: set up gh
uses: ./.github/actions/setup_gh
with:
os: 'ubuntu'
token: ${{ secrets.GITHUB_TOKEN }}
- name: build dpc++ artefact
uses: ./.github/actions/do_build_dpcpp
with:
target: host_x86_64_linux
download_dpcpp_artefact: ${{ inputs.download_dpcpp_artefact }}
save_cache: ${{ inputs.save_cache }}
dpcpp_repo_pr_no: ${{ inputs.dpcpp_repo_pr_no }}
build_dpcpp_native_aarch64:
needs: [workflow_vars]
runs-on: 'ubuntu-24.04-arm'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-aarch64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: (inputs.test_sycl_cts || inputs.test_sycl_e2e) && contains(inputs.target_list, 'host_aarch64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: set up gh
uses: ./.github/actions/setup_gh
with:
os: 'ubuntu'
token: ${{ secrets.GITHUB_TOKEN }}
- name: build dpc++ artefact
uses: ./.github/actions/do_build_dpcpp
with:
target: host_aarch64_linux
download_dpcpp_artefact: ${{ inputs.download_dpcpp_artefact }}
save_cache: ${{ inputs.save_cache }}
dpcpp_repo_pr_no: ${{ inputs.dpcpp_repo_pr_no }}
build_sycl_cts_x86_64:
needs: [workflow_vars, build_icd, build_dpcpp_native_x86_64]
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
subset: [ 'A', 'B', 'C' ]
runs-on: 'ubuntu-24.04'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: inputs.test_sycl_cts && inputs.ock && contains(inputs.target_list, 'host_x86_64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: set up gh
uses: ./.github/actions/setup_gh
with:
os: 'ubuntu'
token: ${{ secrets.GITHUB_TOKEN }}
- name: build sycl cts artefact
uses: ./.github/actions/do_build_sycl_cts
with:
target: host_x86_64_linux
subset: ${{ matrix.subset }}
download_sycl_cts_artefact: ${{ inputs.download_sycl_cts_artefact }}
build_sycl_cts_x86_64_combine:
needs: [build_sycl_cts_x86_64]
runs-on: 'ubuntu-24.04'
if: inputs.test_sycl_cts && inputs.ock && contains(inputs.target_list, 'host_x86_64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
# download sycl cts build subset artefacts, combine, upload
- name: combine SYCL-CTS build artifacts
uses: ./.github/actions/combine_sycl_cts_artifacts
with:
target: host_x86_64_linux
path: tests_dir
build_sycl_cts_aarch64:
needs: [workflow_vars, build_icd, build_dpcpp_native_aarch64]
strategy:
fail-fast: false # let all matrix jobs complete
matrix:
subset: [ 'A', 'B', 'C' ]
runs-on: 'ubuntu-22.04-arm'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-aarch64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: inputs.test_sycl_cts && inputs.ock && contains(inputs.target_list, 'host_aarch64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: set up gh
uses: ./.github/actions/setup_gh
with:
os: 'ubuntu'
token: ${{ secrets.GITHUB_TOKEN }}
- name: build sycl cts artefact
uses: ./.github/actions/do_build_sycl_cts
with:
target: host_aarch64_linux
subset: ${{ matrix.subset }}
download_sycl_cts_artefact: ${{ inputs.download_sycl_cts_artefact }}
build_sycl_cts_aarch64_combine:
needs: [build_sycl_cts_aarch64]
runs-on: 'ubuntu-24.04'
if: inputs.test_sycl_cts && inputs.ock && contains(inputs.target_list, 'host_aarch64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
# download sycl cts build subset artefacts, combine, upload
- name: combine SYCL-CTS build artifacts
uses: ./.github/actions/combine_sycl_cts_artifacts
with:
target: host_aarch64_linux
path: tests_dir
run_sycl_cts_x86_64:
needs: [workflow_vars, create_ock_artefacts_ubuntu, build_dpcpp_native_x86_64, build_sycl_cts_x86_64_combine]
runs-on: 'ubuntu-24.04'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: inputs.test_sycl_cts && inputs.ock && contains(inputs.target_list, 'host_x86_64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: run sycl cts
uses: ./.github/actions/run_sycl_cts
with:
target: host_x86_64_linux
llvm_version: ${{ inputs.llvm_version }}
run_sycl_cts_aarch64:
needs: [workflow_vars, create_ock_artefacts_ubuntu, build_dpcpp_native_aarch64, build_sycl_cts_aarch64_combine]
runs-on: 'ubuntu-24.04-arm'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-aarch64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: inputs.test_sycl_cts && inputs.ock && contains(inputs.target_list, 'host_aarch64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: run sycl cts
uses: ./.github/actions/run_sycl_cts
with:
target: host_aarch64_linux
llvm_version: ${{ inputs.llvm_version }}
run_sycl_e2e_x86_64:
needs: [workflow_vars, build_dpcpp_native_x86_64, build_icd, create_ock_artefacts_ubuntu]
runs-on: 'ubuntu-24.04'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: inputs.test_sycl_e2e && inputs.ock && contains(inputs.target_list, 'host_x86_64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: build e2e
uses: ./.github/actions/do_build_run_sycl_e2e
with:
target: host_x86_64_linux
run_sycl_e2e_aarch64:
needs: [workflow_vars, build_dpcpp_native_aarch64]
runs-on: 'ubuntu-24.04-arm'
container:
image: 'ghcr.io/uxlfoundation/ock_ubuntu_22.04-aarch64:latest'
volumes:
- ${{github.workspace}}:${{github.workspace}}
if: inputs.test_sycl_e2e && inputs.ock && contains(inputs.target_list, 'host_aarch64_linux')
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: build e2e
uses: ./.github/actions/do_build_run_sycl_e2e
with:
target: host_aarch64_linux