Skip to content
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

[CI] Use cached_checkouts for E2E tests on Linux #10307

Merged
merged 2 commits into from
Jul 11, 2023
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: 4 additions & 0 deletions .github/workflows/linux_matrix_e2e_on_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
target_devices: ${{ matrix.target_devices }}
ref: ${{ inputs.ref }}
reset_gpu: ${{ matrix.reset_gpu }}
# TODO: should we do the merge?
merge: false

aws_start:
name: AWS Start
Expand All @@ -74,6 +76,8 @@ jobs:
target_devices: all
ref: ${{ inputs.ref }}
reset_gpu: false
# TODO: should we do the merge?
merge: false

aws_stop:
name: AWS Stop
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/linux_single_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
type: string
reset_gpu:
type: string
merge:
type: string

sycl_toolchain_artifact:
type: string
Expand Down Expand Up @@ -50,13 +52,17 @@ jobs:
sudo bash -c 'echo 1 > /sys/kernel/debug/dri/0/i915_wedged'
- uses: actions/checkout@v3
with:
path: llvm
ref: ${{ inputs.ref }}
sparse-checkout: |
devops/actions
devops/scripts/get_release.py
sycl/test-e2e
llvm/utils
- name: Register cleanup after job is finished
uses: ./devops/actions/cleanup
- uses: ./devops/actions/cached_checkout
with:
path: llvm
ref: ${{ inputs.ref }}
cache_path: "/__w/repo_cache/"
merge: ${{ inputs.merge }}
- name: Install drivers
if: env.compute_runtime_tag != ''
run: |
Expand All @@ -65,8 +71,6 @@ jobs:
sudo cp llvm/devops/scripts/get_release.py /opt/
sudo -E /opt/install_drivers.sh --all
fi
- name: Register cleanup after job is finished
uses: ./llvm/devops/actions/cleanup
- name: Source OneAPI TBB vars.sh
shell: bash
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sycl_linux_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ jobs:
target_devices: ${{ matrix.targets }}
ref: ${{ inputs.build_ref || github.sha }}
reset_gpu: ${{ contains(matrix.runs-on, 'gen9') && contains(matrix.runs-on, 'Linux') }}
merge: ${{ inputs.merge }}

sycl_toolchain_artifact: sycl_linux_${{ inputs.build_artifact_suffix }}
sycl_toolchain_archive: ${{ inputs.artifact_archive_name }}
Expand Down
Loading