Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

We also have "official" releases like "v6.1.0" but they have different archive name format and lack necessary tools for running E2E tests (like FileCheck, etc.). As such, limit support for "Nightly" releases format.

…n-tests.yml`

We also have "official" releases like "v6.1.0" but they have different archive
name format *and* lack necessary tools for running E2E tests (like `FileCheck`,
etc.). As such, limit support for "Nightly" releases format.
@aelovikov-intel aelovikov-intel requested a review from a team as a code owner August 1, 2025 23:10
@aelovikov-intel
Copy link
Contributor Author

rm -f ${{ inputs.toolchain_artifact_filename }}
echo PATH=$PWD/toolchain/bin/:$PATH >> $GITHUB_ENV
echo LD_LIBRARY_PATH=$PWD/toolchain/lib/:$LD_LIBRARY_PATH >> $GITHUB_ENV
- name: Download SYCL toolchain using release tag
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this step and the previous be mutually exclusive? What does it mean if both Extract/Setup SYCL toolchain and Download SYCL toolchain using release tag run?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, they kind of are exclusive. Artifact is only set for workflow_call trigger and release tag for workflow_dispatch.

Copy link
Contributor

@sarnex sarnex Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set up the toolchain in a single step with an bash if statement to check which variable is set?

Copy link
Contributor Author

@aelovikov-intel aelovikov-intel Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had something like that in my first version locally, but I didn't like it because the artifact download code is still in separate steps. See lines 258 and 263/286. I could have had three different downloads steps and a single export PATH step, but that wouldn't be any better than what I have in this PR, IMO.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok yeah i see the problem, combining the three cases (using build step artifact from workflow call, using build step artifact from workflow dispatch, using nightly for workflow dispatch) would be pretty annoying, i guess some of it is our fault for trying to support a ton of cases but github definitely does not make it easy

@aelovikov-intel aelovikov-intel merged commit 1af67b1 into sycl Aug 2, 2025
32 checks passed
@aelovikov-intel aelovikov-intel deleted the manual-e2e-nightly branch August 2, 2025 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants