Skip to content

Commit 59f480b

Browse files
committed
[CI] Correctly set install_igc_driver and related opts in postcommit
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 397cf9f commit 59f480b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/sycl-post-commit.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ concurrency:
2929
permissions: read-all
3030

3131
jobs:
32+
detect_changes:
33+
uses: ./.github/workflows/sycl-detect-changes.yml
34+
3235
build-lin:
3336
name: Linux (Self build + no-assertions)
3437
if: github.repository == 'intel/llvm'
@@ -40,7 +43,7 @@ jobs:
4043
build_configure_extra_args: --no-assertions --hip --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON
4144

4245
e2e-lin:
43-
needs: [build-lin]
46+
needs: [detect_changes, build-lin]
4447
if: ${{ always() && !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }}
4548
strategy:
4649
fail-fast: false
@@ -94,6 +97,12 @@ jobs:
9497
sycl_toolchain_archive: ${{ needs.build-lin.outputs.artifact_archive_name }}
9598
sycl_toolchain_decompress_command: ${{ needs.build-lin.outputs.artifact_decompress_command }}
9699

100+
# Do not install drivers on AMD and CUDA runners.
101+
install_igc_driver: >-
102+
${{ !contains(matrix.target_devices, 'cuda') &&
103+
!contains(matrix.target_devices, 'hip') &&
104+
contains(needs.detect_changes.outputs.filters, 'drivers') }}
105+
97106
build-win:
98107
if: |
99108
always()

0 commit comments

Comments
 (0)