From 724c07dc5a6cc9f30cf61104b4163b06a1612964 Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Tue, 1 Apr 2025 13:09:08 -0400 Subject: [PATCH 1/4] [CI] 3rd attempt to skip check file for large PR (#17779) --- .github/workflows/sycl-detect-changes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sycl-detect-changes.yml b/.github/workflows/sycl-detect-changes.yml index 6fcff12220057..2fd143acff97f 100644 --- a/.github/workflows/sycl-detect-changes.yml +++ b/.github/workflows/sycl-detect-changes.yml @@ -28,7 +28,7 @@ jobs: - name: Check file changes uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 - if: ${{ steps.changed_files.outputs.changed_file_cnt }} < 500 + if: ${{ steps.changed_files.outputs.changed_file_cnt < 500 }} id: changes with: filters: | From eb96b2f5f23ba883b3f9e4bf64cef6bbaeda961b Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Tue, 1 Apr 2025 12:00:30 -0700 Subject: [PATCH 2/4] test Signed-off-by: Sarnie, Nick --- sycl/test-e2e/lit.cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test-e2e/lit.cfg.py b/sycl/test-e2e/lit.cfg.py index 7235a5dbfa99d..fb8a848e17b11 100644 --- a/sycl/test-e2e/lit.cfg.py +++ b/sycl/test-e2e/lit.cfg.py @@ -1,6 +1,6 @@ # -*- Python -*- -import os +import os import platform import copy import re From 339e7d23a895c6b7e2b828dcd97d8024402e7587 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Tue, 1 Apr 2025 12:02:40 -0700 Subject: [PATCH 3/4] test Signed-off-by: Sarnie, Nick --- .github/workflows/sycl-detect-changes.yml | 1 - .github/workflows/sycl-linux-precommit.yml | 19 ------------------- sycl/test-e2e/lit.cfg.py | 2 +- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/sycl-detect-changes.yml b/.github/workflows/sycl-detect-changes.yml index 2fd143acff97f..9dc3bc4ce44b3 100644 --- a/.github/workflows/sycl-detect-changes.yml +++ b/.github/workflows/sycl-detect-changes.yml @@ -98,4 +98,3 @@ jobs: return ["llvm", "llvm_spirv", "clang", "sycl_jit", "xptifw", "libclc", "sycl", "ci", "esimd", "ur"]; - run: echo '${{ steps.result.outputs.result }}' - diff --git a/.github/workflows/sycl-linux-precommit.yml b/.github/workflows/sycl-linux-precommit.yml index b1ea2fdb03eb6..5cca27443e324 100644 --- a/.github/workflows/sycl-linux-precommit.yml +++ b/.github/workflows/sycl-linux-precommit.yml @@ -5,25 +5,6 @@ on: # "Require approval for all outside collaborators" at # https://github.com/intel/llvm/settings/actions for security. pull_request: - branches: - - sycl - - sycl-rel-** - # Do not run builds if changes are only in the following locations - paths-ignore: - - '.github/ISSUE_TEMPLATE/**' - - '.github/CODEOWNERS' - - 'sycl/cts_exclude_filter/**' - - 'sycl/doc/**' - - 'sycl/gdb/**' - - 'clang/docs/**' - - '**.md' - - '**.rst' - - '.github/workflows/sycl-windows-*.yml' - - '.github/workflows/sycl-macos-*.yml' - - '.github/workflows/sycl-nightly.yml' - - '.github/workflows/sycl-rel-nightly.yml' - - 'devops/containers/**' - - 'devops/actions/build_container/**' concurrency: # Cancel a currently running workflow from the same PR, branch or tag. diff --git a/sycl/test-e2e/lit.cfg.py b/sycl/test-e2e/lit.cfg.py index fb8a848e17b11..ec4e415478c2c 100644 --- a/sycl/test-e2e/lit.cfg.py +++ b/sycl/test-e2e/lit.cfg.py @@ -1,6 +1,6 @@ # -*- Python -*- -import os +import os import platform import copy import re From 619ae8f26db90ca8025ff37e0a97a42e5fe91d85 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Tue, 1 Apr 2025 12:03:13 -0700 Subject: [PATCH 4/4] test Signed-off-by: Sarnie, Nick --- .github/workflows/sycl-detect-changes.yml | 2 +- sycl/test-e2e/lit.cfg.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sycl-detect-changes.yml b/.github/workflows/sycl-detect-changes.yml index 9dc3bc4ce44b3..e3e048f772f7d 100644 --- a/.github/workflows/sycl-detect-changes.yml +++ b/.github/workflows/sycl-detect-changes.yml @@ -12,7 +12,7 @@ permissions: read-all jobs: need_check: name: Decide which tests could be affected by the changes - runs-on: [Linux, aux-tasks] + runs-on: ubuntu-latest timeout-minutes: 3 outputs: filters: ${{ steps.result.outputs.result }} diff --git a/sycl/test-e2e/lit.cfg.py b/sycl/test-e2e/lit.cfg.py index ec4e415478c2c..de2b6c8f3e8c5 100644 --- a/sycl/test-e2e/lit.cfg.py +++ b/sycl/test-e2e/lit.cfg.py @@ -1,6 +1,6 @@ # -*- Python -*- -import os +import os import platform import copy import re