Skip to content

Commit e845865

Browse files
committed
test
Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
1 parent e711ac0 commit e845865

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.github/workflows/ur-build-hw.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ on:
2929
required: true
3030
type: string
3131
default: ""
32+
install_igc_driver:
33+
required: false
34+
type: string
35+
default: ""
3236
workflow_dispatch:
3337
inputs:
3438
adapter_name:
@@ -57,7 +61,10 @@ on:
5761
required: true
5862
type: string
5963
default: ""
60-
64+
install_igc_driver:
65+
required: false
66+
type: string
67+
default: ""
6168
permissions: read-all
6269

6370
env:
@@ -129,7 +136,15 @@ jobs:
129136
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
130137
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
131138
sudo apt-get update
132-
sudo apt-get install -y intel-oneapi-runtime-opencl
139+
sudo apt-get install -y intel-oneapi-runtime-opencl
140+
- uses: actions/checkout@v5
141+
with:
142+
sparse-checkout: |
143+
devops
144+
- name: Install Intel GPU driver
145+
if: ${{ inputs.install_igc_driver && (inputs.adapter_name == 'OPENCL' || inputs.adapter_name =~ 'L0') }}
146+
run: |
147+
sudo -E bash devops/scripts/install_drivers.sh devops/dependencies.json --all
133148
134149
- name: Configure Unified Runtime project
135150
# ">" is used to avoid adding "\" at the end of each line; this command is quite long

.github/workflows/ur-precommit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ jobs:
9898
other_adapter_name: ${{ matrix.other_adapter || '' }}
9999
docker_image: ${{ matrix.docker_image || 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps'}}
100100
image_options: ${{ matrix.image_options || '' }}
101+
install_igc_driver: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
101102

102103
# TODO: Enable once the apt package at https://apt.llvm.org/noble/pool/main/l/llvm-toolchain-snapshot/ is updated
103104
# offload_build:

devops/dependencies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"linux": {
2+
"linux": {
33
"compute_runtime": {
44
"github_tag": "25.40.35563.4",
55
"version": "25.40.35563.4",

0 commit comments

Comments
 (0)