7
7
- sycl-devops-pr/**
8
8
- llvmspirv_pulldown
9
9
10
+ pull_request :
11
+ branches :
12
+ - sycl
13
+ - sycl-devops-pr/**
14
+ paths :
15
+ - .github/workflow/sycl_post_commit.yml
16
+ - .github/workflow/sycl_linux_build.yml
17
+ - .github/workflow/sycl_linux_run_tests.yml
18
+ - ./devops/actions/cleanup
19
+ - ./devops/actions/cached_checkout
20
+
10
21
jobs :
11
- # This job generates matrix of tests for SYCL End-to-End tests
12
- test_matrix :
13
- name : Generate Test Matrix
14
- if : github.repository == 'intel/llvm'
15
- uses : ./.github/workflows/sycl_gen_test_matrix.yml
16
- with :
17
- lts_config : " l0_gen12;win_l0_gen12"
18
- linux_self_prod :
22
+ build :
19
23
name : Linux (Self build + shared libraries + no-assertions)
20
24
if : github.repository == 'intel/llvm'
21
- needs : test_matrix
22
- uses : ./.github/workflows/sycl_linux_build_and_test.yml
25
+ uses : ./.github/workflows/sycl_linux_build.yml
23
26
with :
24
27
build_cache_root : " /__w/llvm"
25
28
build_cache_suffix : sprod_shared
@@ -29,11 +32,32 @@ jobs:
29
32
build_image : " ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build"
30
33
cc : clang
31
34
cxx : clang++
32
- lts_matrix : ${{ needs.test_matrix.outputs.lts_lx_matrix }}
33
- cts_matrix : ${{ needs.test_matrix.outputs.cts_matrix }}
34
- lts_aws_matrix : ${{ needs.test_matrix.outputs.lts_aws_matrix }}
35
35
merge_ref : ' '
36
36
37
+ test :
38
+ needs : [build]
39
+ if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
40
+ uses : ./.github/workflows/sycl_linux_run_tests.yml
41
+ with :
42
+ name : SYCL E2E on Intel Linux L0
43
+ runner : ' ["Linux", "gen12"]'
44
+ image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
45
+ image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
46
+ target_devices : ext_oneapi_level_zero:gpu
47
+ ref : ${{ github.sha }}
48
+ merge_ref : ' '
49
+ sycl_toolchain_artifact : sycl_linux_sprod_shared
50
+ sycl_toolchain_archive : ${{ needs.build.outputs.artifact_archive_name }}
51
+ sycl_toolchain_decompress_command : ${{ needs.build.outputs.artifact_decompress_command }}
52
+
53
+ # This job generates matrix of tests for SYCL End-to-End tests on Windows
54
+ test_matrix :
55
+ name : Generate Test Matrix
56
+ if : github.repository == 'intel/llvm'
57
+ uses : ./.github/workflows/sycl_gen_test_matrix.yml
58
+ with :
59
+ lts_config : " win_l0_gen12"
60
+
37
61
windows_default :
38
62
name : Windows
39
63
needs : test_matrix
0 commit comments