@@ -223,47 +223,6 @@ jobs:
223223 fi
224224
225225 cmake --build $GITHUB_WORKSPACE/build --target check-llvm
226- - name : check-clang
227- if : ${{ !cancelled() && contains(inputs.changes, 'clang') }}
228- env :
229- # Can't inline to support possible quotes inside:
230- BUILD_CONFIGURE_EXTRA_ARGS : ${{ inputs.build_configure_extra_args }}
231- run : |
232- # Can we move this to Dockerfile? Hopefully, noop on Windows.
233- export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
234- if [[ "${BUILD_CONFIGURE_EXTRA_ARGS}" == *"--use-libcxx"* ]]; then
235- # https://github.com/llvm/llvm-project/issues/59428
236- export LIT_FILTER_OUT="(E|e)xception"
237- fi
238- cmake --build $GITHUB_WORKSPACE/build --target check-clang
239- - name : check-sycl
240- if : ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
241- run : |
242- # TODO consider moving this to Dockerfile.
243- export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
244- cmake --build $GITHUB_WORKSPACE/build --target check-sycl
245- - name : check-sycl-unittests
246- if : ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
247- run : |
248- # TODO consider moving this to Dockerfile.
249- export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
250- cmake --build $GITHUB_WORKSPACE/build --target check-sycl-unittests
251- - name : check-llvm-spirv
252- if : ${{ !cancelled() && contains(inputs.changes, 'llvm_spirv') }}
253- run : |
254- cmake --build $GITHUB_WORKSPACE/build --target check-llvm-spirv
255- - name : check-xptifw
256- if : ${{ !cancelled() && contains(inputs.changes, 'xptifw') }}
257- run : |
258- cmake --build $GITHUB_WORKSPACE/build --target check-xptifw
259- - name : check-libclc
260- if : ${{ !cancelled() && contains(inputs.changes, 'libclc') }}
261- run : |
262- cmake --build $GITHUB_WORKSPACE/build --target check-libclc
263- - name : check-libdevice
264- if : ${{ !cancelled() && contains(inputs.changes, 'sycl') }}
265- run : |
266- cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
267226 - name : Check E2E test requirements
268227 if : ${{ !cancelled() && !contains(inputs.changes, 'sycl') }}
269228 run : |
@@ -368,3 +327,18 @@ jobs:
368327 binaries_artifact : ${{ inputs.e2e_binaries_preview_artifact }}
369328 sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
370329 extra_lit_opts : --param test-preview-mode=True
330+
331+ - name : Build E2E tests with NewOffloadModel
332+ if : |
333+ inputs.e2e_binaries_preview_artifact &&
334+ !cancelled()
335+ && steps.build.conclusion == 'success' &&
336+ contains(github.event.pull_request.labels.*.name, "new-offload-model")
337+ uses : ./devops/actions/run-tests/e2e
338+ with :
339+ ref : ${{ inputs.ref || github.sha }}
340+ testing_mode : build-only
341+ target_devices : all
342+ binaries_artifact : ${{ inputs.e2e_binaries_with_new_offload_model }}
343+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
344+ extra_lit_opts : --param enable_new_offload_model=True
0 commit comments