File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,16 @@ jobs:
116
116
extra_lit_opts : ${{ matrix.extra_lit_opts }}
117
117
env : ${{ matrix.env || '{}' }}
118
118
119
- install_igc_driver : ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
120
- install_dev_igc_driver : ${{ matrix.use_igc_dev && contains(needs.detect_changes.outputs.filters, 'devigccfg') || 'false' }}
119
+ # Do not install drivers on AMD and CUDA runners.
120
+ install_igc_driver : |
121
+ ${{ !contains(matrix.target_devices, 'ext_oneapi_cuda') &&
122
+ !contains(matrix.target_devices, 'ext_oneapi_hip') &&
123
+ contains(needs.detect_changes.outputs.filters, 'drivers') }}
124
+ install_dev_igc_driver : |
125
+ ${{ !contains(matrix.target_devices, 'ext_oneapi_cuda') &&
126
+ !contains(matrix.target_devices, 'ext_oneapi_hip') &&
127
+ matrix.use_igc_dev && contains(needs.detect_changes.outputs.filters, 'devigccfg') ||
128
+ 'false' }}
121
129
# Run only if the PR does not have the 'ci-no-devigc' label.
122
130
skip_run : ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
123
131
You can’t perform that action at this time.
0 commit comments