Skip to content

[CI][NFC] Rename ref to repo_ref #17555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/sycl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ jobs:
runner: '["Windows", "build-e2e"]'
cts_testing_mode: 'build-only'
tests_selector: cts
ref: ${{ github.sha }}
repo_ref: ${{ github.sha }}
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
sycl_cts_artifact: sycl_cts_bin_win

Expand All @@ -278,7 +278,7 @@ jobs:
cts_testing_mode: 'run-only'
target_devices: ${{ matrix.target_devices }}
tests_selector: cts
ref: ${{ github.sha }}
repo_ref: ${{ github.sha }}
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
sycl_cts_artifact: sycl_cts_bin_win

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sycl-rel-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
runner: '["Windows","gen12"]'
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
extra_lit_opts: --param gpu-intel-gen12=True
ref: sycl-rel-6_0_0
repo_ref: sycl-rel-6_0_0
devops_ref: sycl

cuda-aws-start:
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/sycl-windows-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
name:
type: string
required: True

runner:
type: string
required: True
Expand All @@ -27,19 +28,17 @@ on:
Extra options to be added to LIT_OPTS.
type: string
default: ''
ref:

repo_ref:
type: string
required: False
description: |
Commit SHA or branch to checkout the intel/llvm repo.
devops_ref:
type: string
required: False
description: |
By default we checkout the devops directory from "inputs.ref" branch.
devops_ref may be specified to checkout the devops dir from different
branch.
Note: it doesn't affect ./devops/actions/run-tests/* as these actions
call checkout again and therefore override the devops directory, so
configs/dependecies from input.ref are used.
Commit SHA or branch to checkout the devops directory.
tests_ref:
type: string
required: False
Expand Down Expand Up @@ -104,7 +103,7 @@ jobs:
with:
sparse-checkout: |
devops/actions
ref: ${{ inputs.devops_ref|| inputs.ref || github.sha }}
ref: ${{ inputs.devops_ref|| inputs.repo_ref || github.sha }}
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756
with:
arch: amd64
Expand All @@ -122,7 +121,7 @@ jobs:
if: inputs.tests_selector == 'e2e'
with:
path: llvm
ref: ${{ inputs.ref || github.sha }}
ref: ${{ inputs.repo_ref || github.sha }}
cache_path: "D:\\\\github\\\\_work\\\\repo_cache\\\\"
- name: Download compiler toolchain
uses: actions/download-artifact@v4
Expand Down
Loading