Skip to content

[CI] Re-enable pre-commit CI for drivers updates #10071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/sycl_detect_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- *llvm_spirv
- *clang
- 'libclc/**'
sycl:
sycl: &sycl
- *clang
- *sycl-fusion
- *llvm_spirv
Expand All @@ -49,4 +49,11 @@ jobs:
- 'sycl/!(test-e2e|doc)/**'
ci:
- .github/workflows/**
- devops/**
- devops/*/**
# devops/* contains config files, including drivers versions.
# Allow them to be tested in pre-commit.
drivers_and_configs: &drivers_and_configs
- devops/*
test_build:
- *sycl
- *drivers_and_configs
7 changes: 3 additions & 4 deletions .github/workflows/sycl_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ on:
- '**.rst'
# For CI-related files we explicitly skip all the jobs below even if there
# were other (non-ignored) files modified in this PR.
- '.github/workflows/**'
- 'devops/**'
- 'devops/*/**'

permissions:
contents: read
Expand Down Expand Up @@ -75,7 +74,7 @@ jobs:
if: |
always()
&& (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint'))
&& contains(needs.detect_changes.outputs.filters, 'sycl')
&& contains(needs.detect_changes.outputs.filters, 'test_build')
&& !contains(needs.detect_changes.outputs.filters, 'ci')
uses: ./.github/workflows/sycl_linux_build_and_test.yml
secrets: inherit
Expand All @@ -93,7 +92,7 @@ jobs:
name: Linux SYCL E2E on Nightly
needs: [detect_changes]
if: |
!contains(needs.detect_changes.outputs.filters, 'sycl')
!contains(needs.detect_changes.outputs.filters, 'test_build')
&& !contains(needs.detect_changes.outputs.filters, 'ci')
uses: ./.github/workflows/linux_matrix_e2e_on_nightly.yml
secrets: inherit
Expand Down