-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
63 additions
and
62 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,59 @@ | ||
name: SYCL Pre Commit on Windows | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- sycl | ||
- sycl-devops-pr/** | ||
- llvmspirv_pulldown | ||
- sycl-rel-** | ||
# 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' | ||
- '.github/workflows/sycl-macos-*.yml' | ||
- '.github/workflows/sycl-nightly.yml' | ||
- 'devops/containers/**' | ||
- 'devops/actions/build_container/**' | ||
|
||
permissions: read-all | ||
|
||
concurrency: | ||
# Cancel a currently running workflow from the same PR, branch or tag. | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
detect_changes: | ||
uses: ./.github/workflows/sycl-detect-changes.yml | ||
|
||
build: | ||
needs: [detect_changes] | ||
if: | | ||
always() && success() | ||
&& 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 }} | ||
extra_lit_opts: --param gpu-intel-gen12=True | ||
# name: SYCL Pre Commit on Windows | ||
# | ||
# on: | ||
# pull_request: | ||
# branches: | ||
# - sycl | ||
# - sycl-devops-pr/** | ||
# - llvmspirv_pulldown | ||
# - sycl-rel-** | ||
# # 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' | ||
# - '.github/workflows/sycl-macos-*.yml' | ||
# - '.github/workflows/sycl-nightly.yml' | ||
# - 'devops/containers/**' | ||
# - 'devops/actions/build_container/**' | ||
# | ||
# permissions: read-all | ||
# | ||
# concurrency: | ||
# # Cancel a currently running workflow from the same PR, branch or tag. | ||
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
# cancel-in-progress: true | ||
# | ||
# jobs: | ||
# detect_changes: | ||
# uses: ./.github/workflows/sycl-detect-changes.yml | ||
# | ||
# build: | ||
# needs: [detect_changes] | ||
# if: | | ||
# always() && success() | ||
# && 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 }} | ||
# extra_lit_opts: --param gpu-intel-gen12=True | ||
# |