Skip to content

Commit 030bdf0

Browse files
[CI] Don't merge origin/sycl into post-commit/nightly
This is likely not perfect but should work for now. Longer term we need to be more explicit about both checkout ref and base branch ref for the merge to fix another race condition with E2E tests. Not target of this PR though.
1 parent 30786de commit 030bdf0

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ on:
7878
description: 'Filter matches for the changed files in the PR'
7979
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
8080
required: false
81+
merge:
82+
description: 'Merge default branch after the checkout'
83+
type: boolean
84+
default: true
8185

8286
jobs:
8387
build:
@@ -100,6 +104,7 @@ jobs:
100104
path: src
101105
ref: ${{ inputs.build_ref || github.sha }}
102106
cache_path: "/__w/repo_cache/"
107+
merge: ${{ inputs.merge }}
103108
- name: Configure
104109
env:
105110
CC: ${{ inputs.cc }}

.github/workflows/sycl_nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
build_cache_root: "/__w/"
2727
build_artifact_suffix: default-2204
2828
build_configure_extra_args: '--hip --cuda --enable-esimd-emulator'
29+
merge: false
2930

3031
ubuntu2204_opaque_pointers_build_test:
3132
if: github.repository == 'intel/llvm'
@@ -37,6 +38,7 @@ jobs:
3738
build_cache_suffix: opaque_pointers
3839
build_artifact_suffix: opaque_pointers-2204
3940
build_configure_extra_args: "--hip --cuda --enable-esimd-emulator --cmake-opt=-DSPIRV_ENABLE_OPAQUE_POINTERS=TRUE"
41+
merge: false
4042

4143
windows_default:
4244
name: Windows

.github/workflows/sycl_post_commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
lts_matrix: ${{ needs.test_matrix.outputs.lts_lx_matrix }}
3232
cts_matrix: ${{ needs.test_matrix.outputs.cts_matrix }}
3333
lts_aws_matrix: ${{ needs.test_matrix.outputs.lts_aws_matrix }}
34+
merge: false
3435

3536
windows_default:
3637
name: Windows

0 commit comments

Comments
 (0)