Skip to content

Commit f98151e

Browse files
in-container special value
1 parent 984bd3d commit f98151e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/sycl-linux-precommit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ jobs:
158158
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
159159
target_devices: level_zero:gpu
160160
extra_lit_opts: '--param test-preview-mode=False --filter-out "${{ needs.compat_read_exclude.outputs.FILTER }}"'
161-
# Use pre-built E2E from the container:
162-
e2e_binaries_artifact: ''
161+
e2e_binaries_artifact: 'in-container'
163162

164163
uses: ./.github/workflows/sycl-linux-run-tests.yml
165164
with:

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ on:
6262
description: |
6363
When set in modes other than `run-only` results in artifact upload.
6464
For `run-only` mode, if specified, means downloading pre-built
65-
binaries from the artifact, otherwise they are expected to be part of
66-
the container.
65+
binaries from the artifact. If set to special value `in-container`
66+
then the binaries are expected to be stored in the container image
67+
instead of coming from an artifact.
6768
type: string
6869
default: ''
6970
required: False

devops/actions/run-tests/e2e/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
using: "composite"
2525
steps:
2626
- name: Checkout E2E tests
27-
if: ${{ !(inputs.testing_mode == 'run-only' && inputs.binaries_artifact == '') }}
27+
if: ${{ !(inputs.testing_mode == 'run-only' && inputs.binaries_artifact == 'in-container') }}
2828
uses: actions/checkout@v4
2929
with:
3030
path: llvm
@@ -33,19 +33,19 @@ runs:
3333
llvm/utils/lit
3434
sycl/test-e2e
3535
- name: Download E2E Binaries
36-
if: ${{ inputs.testing_mode == 'run-only' && inputs.binaries_artifact != '' }}
36+
if: ${{ inputs.testing_mode == 'run-only' && inputs.binaries_artifact != 'in-container' }}
3737
uses: actions/download-artifact@v4
3838
with:
3939
name: ${{ inputs.binaries_artifact }}
4040
- name: Extract E2E Binaries
41-
if: ${{ inputs.testing_mode == 'run-only' && inputs.binaries_artifact != '' }}
41+
if: ${{ inputs.testing_mode == 'run-only' && inputs.binaries_artifact != 'in-container' }}
4242
shell: bash
4343
run: |
4444
mkdir build-e2e
4545
tar -I 'zstd' -xf e2e_binaries.tar.zst -C build-e2e
4646
4747
- name: Extract E2E tests from container image
48-
if: ${{ inputs.testing_mode == 'run-only' && inputs.binaries_artifact == '' }}
48+
if: ${{ inputs.testing_mode == 'run-only' && inputs.binaries_artifact == 'in-container' }}
4949
shell: bash
5050
run: |
5151
mkdir build-e2e llvm

0 commit comments

Comments
 (0)