Skip to content

Commit e7ce30b

Browse files
[CI] E2E task refactor (#10459)
* Remove temporary experimental task sycl_linux_gen12_exp.yml * Add possibility to trigger E2E testing on a nightly image manually So far it needs a branch inside intel/llvm but I plan on extending it to PRs later.
1 parent 9f74dd5 commit e7ce30b

File tree

2 files changed

+39
-25
lines changed

2 files changed

+39
-25
lines changed

.github/workflows/linux_single_e2e.yml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
required: True
1616
image_options:
1717
type: string
18-
required: False
18+
required: True
1919

2020
target_devices:
2121
type: string
@@ -59,6 +59,43 @@ on:
5959
default: '{}'
6060
required: False
6161

62+
workflow_dispatch:
63+
inputs:
64+
runner:
65+
type: choice
66+
options:
67+
- '["Linux", "gen12"]'
68+
- '["amdgpu"]'
69+
image:
70+
description: |
71+
Use option ending with ":build" for AMDGPU, ":latest" for the rest.
72+
type: choice
73+
options:
74+
- 'ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:latest'
75+
- 'ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build'
76+
image_options:
77+
description: |
78+
Use option with "--device=/dev/kfd" for AMDGPU, without it for the rest.
79+
type: choice
80+
options:
81+
- '-u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN'
82+
- '-u 1001 --device=/dev/dri --device=/dev/kfd --privileged --cap-add SYS_ADMIN'
83+
target_devices:
84+
type: choice
85+
options:
86+
- 'opencl:cpu'
87+
- 'opencl:gpu'
88+
- 'opencl:acc'
89+
- 'ext_oneapi_level_zero:gpu'
90+
- 'ext_oneapi_hip:gpu'
91+
- 'ext_intel_esimd_emulator:gpu'
92+
93+
env:
94+
description: |
95+
Suggested variables: LIT_FILTER, LIT_FILTER_OUT. LIT_OPTS won't work
96+
as we redefine it as part of this workflow.
97+
default: '{"LIT_FILTER":""}'
98+
6299
jobs:
63100
lin_e2e_only:
64101
name: ${{ inputs.name }}
@@ -83,7 +120,7 @@ jobs:
83120
- uses: ./devops/actions/cached_checkout
84121
with:
85122
path: llvm
86-
ref: ${{ inputs.ref }}
123+
ref: ${{ inputs.ref || github.sha }}
87124
merge_ref: ${{ inputs.merge_ref }}
88125
cache_path: "/__w/repo_cache/"
89126
- name: Install drivers

.github/workflows/sycl_linux_gen12_exp.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)