Skip to content

Commit 9cd7ce0

Browse files
committed
[CI] Add option to allow run test using devigc docker
Alternative to #13305
1 parent c0ade1b commit 9cd7ce0

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/sycl-linux-precommit.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ on:
2424
- 'devops/containers/**'
2525
- 'devops/actions/build_container/**'
2626

27+
workflow_dispatch:
28+
inputs:
29+
intel_drivers_docker_image_tag:
30+
type: choice
31+
options:
32+
- 'latest'
33+
- 'devigc'
34+
- 'unstable'
35+
default: 'latest'
36+
2737
concurrency:
2838
# Cancel a currently running workflow from the same PR, branch or tag.
2939
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -81,15 +91,15 @@ jobs:
8191
target_devices: ext_oneapi_hip:gpu
8292
- name: Intel
8393
runner: '["Linux", "gen12"]'
84-
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
94+
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:${{ github.event_name == 'workflow_dispatch' && inputs.intel_drivers_docker_image_tag || 'latest' }}
8595
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
8696
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu;opencl:cpu
8797
reset_gpu: true
8898
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
8999
extra_lit_opts: --param gpu-intel-gen12=True
90100
- name: E2E tests on Intel Arc A-Series Graphics
91101
runner: '["Linux", "arc"]'
92-
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
102+
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:${{ github.event_name == 'workflow_dispatch' && inputs.intel_drivers_docker_image_tag || 'latest' }}
93103
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
94104
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu
95105
reset_gpu: true

0 commit comments

Comments
 (0)