[SYCL][Graph] Blocking wait in finalize on scheduler node dependencies #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SYCL Pre Commit on Windows | |
on: | |
pull_request: | |
branches: | |
- sycl | |
- sycl-devops-pr/** | |
- llvmspirv_pulldown | |
# Do not run builds if changes are only in the following locations | |
paths-ignore: | |
- '.github/ISSUE_TEMPLATE/**' | |
- '.github/CODEOWNERS' | |
- 'sycl/doc/**' | |
- 'sycl/gdb/**' | |
- 'clang/docs/**' | |
- '**.md' | |
- '**.rst' | |
- '.github/workflows/sycl_linux_*.yml' | |
- '.github/workflows/sycl_precommit_aws.yml' | |
- 'devops/containers/**' | |
- 'devops/actions/build_container/**' | |
permissions: | |
contents: read | |
jobs: | |
detect_changes: | |
uses: ./.github/workflows/sycl_detect_changes.yml | |
lint: | |
runs-on: [Linux, build] | |
container: | |
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:no-drivers | |
options: -u 1001:1001 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.base_ref }} | |
sparse-checkout: | | |
devops/actions/cached_checkout | |
devops/actions/clang-format | |
devops/actions/cleanup | |
- name: Register cleanup after job is finished | |
uses: ./devops/actions/cleanup | |
- name: 'PR commits + 2' | |
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 2 ))" >> "${GITHUB_ENV}" | |
- uses: ./devops/actions/cached_checkout | |
with: | |
path: src | |
fetch-depth: ${{ env.PR_FETCH_DEPTH }} | |
ref: ${{ github.event.pull_request.head.sha }} | |
merge_ref: '' | |
cache_path: "/__w/repo_cache/" | |
- name: Run clang-format | |
uses: ./devops/actions/clang-format | |
with: | |
path: src | |
build: | |
needs: [lint, detect_changes] | |
if: | | |
always() | |
&& (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint')) | |
&& github.repository == 'intel/llvm' | |
uses: ./.github/workflows/sycl_windows_build.yml | |
with: | |
changes: ${{ needs.detect_changes.outputs.filters }} | |
e2e: | |
needs: build | |
# Continue if build was successful. | |
if: | | |
always() | |
&& !cancelled() | |
&& needs.build.outputs.build_conclusion == 'success' | |
uses: ./.github/workflows/sycl_windows_run_tests.yml | |
with: | |
name: Intel GEN12 Graphics with Level Zero | |
runner: '["Windows","gen12"]' | |
sycl_toolchain_archive: ${{ needs.build.outputs.artifact_archive_name }} |