Skip to content

Commit 9191ceb

Browse files
authored
[CI] Install driver when doing tests for dependencies-igc-dev.json update (#13538)
When we are doing dependencies-igc-dev.json update, we will rebuild the docker image, but we can't use that image immediately in the same CI for testing. So we need to run the test by using the install driver option.
1 parent cc1dd89 commit 9191ceb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/sycl-detect-changes.yml

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
drivers:
5858
- devops/dependencies.json
5959
- devops/scripts/install_drivers.sh
60+
devigccfg:
61+
- devops/dependencies-igc-dev.json
6062
perf-tests:
6163
- sycl/test-e2e/PerformanceTests/**
6264
esimd:

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

+5-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ jobs:
9090
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
9191
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu
9292
reset_gpu: true
93-
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
93+
install_drivers: >-
94+
${{ contains(needs.detect_changes.outputs.filters, 'drivers') ||
95+
contains(needs.detect_changes.outputs.filters, 'devigccfg') }}
96+
use_dev_igc: ${{ contains(needs.detect_changes.outputs.filters, 'devigccfg') }}
9497
extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True
9598
env: '{"LIT_FILTER":${{ needs.determine_arc_tests.outputs.arc_tests }} }'
9699
uses: ./.github/workflows/sycl-linux-run-tests.yml
@@ -102,7 +105,7 @@ jobs:
102105
target_devices: ${{ matrix.target_devices }}
103106
reset_gpu: ${{ matrix.reset_gpu }}
104107
install_drivers: ${{ matrix.install_drivers }}
105-
108+
use_dev_igc: ${{ matrix.use_dev_igc }}
106109
extra_lit_opts: ${{ matrix.extra_lit_opts }}
107110
env: ${{ matrix.env || '{}' }}
108111

0 commit comments

Comments
 (0)