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][NFC] Unify naming scheme for SYCL workflows. #12568

Merged
merged 1 commit into from
Jan 31, 2024
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
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:
- 'devops/dependencies.json'
- 'devops/scripts/install_drivers.sh'
- 'devops/scripts/install_build_tools.sh'
- '.github/workflows/sycl_containers.yaml'
- '.github/workflows/sycl-containers.yaml'
pull_request:
paths:
- 'devops/containers/**'
- 'devops/dependencies.json'
- 'devops/scripts/install_drivers.sh'
- 'devops/scripts/install_build_tools.sh'
- '.github/workflows/sycl_containers.yaml'
- '.github/workflows/sycl-containers.yaml'

jobs:
base_image_ubuntu2204:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- sycl
paths:
- '.github/workflows/gh_pages.yml'
- '.github/workflows/sycl-docs.yml'
- 'clang/docs/**'
- 'sycl/doc/**'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
target_devices: ext_oneapi_cuda:gpu
uses: ./.github/workflows/sycl_linux_run_tests.yml
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix. runner }}
Expand All @@ -62,7 +62,7 @@ jobs:

aws_start:
name: AWS Start
uses: ./.github/workflows/sycl_aws.yml
uses: ./.github/workflows/sycl-aws.yml
secrets: inherit
with:
mode: start
Expand All @@ -71,7 +71,7 @@ jobs:
linux_e2e_on_nightly_aws:
name: '[AWS][CUDA] E2E on Nightly'
needs: [aws_start]
uses: ./.github/workflows/sycl_linux_run_tests.yml
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: CUDA
runner: '["aws-cuda_${{ github.run_id }}-${{ github.run_attempt }}"]'
Expand All @@ -86,7 +86,7 @@ jobs:
name: AWS Stop
needs: [aws_start, linux_e2e_on_nightly_aws]
if: always()
uses: ./.github/workflows/sycl_aws.yml
uses: ./.github/workflows/sycl-aws.yml
secrets: inherit
with:
mode: stop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

e2e-cuda:
needs: [aws-start]
uses: ./.github/workflows/sycl_linux_run_tests.yml
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: CUDA E2E
runner: '["aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}"]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ on:
- 'clang/docs/**'
- '**.md'
- '**.rst'
- '.github/workflows/sycl_windows_*.yml'
- '.github/workflows/sycl_macos_*.yml'
- '.github/workflows/sycl-windows-*.yml'
- '.github/workflows/sycl-macos-*.yml'
- 'devops/containers/**'
- 'devops/actions/build_container/**'

Expand All @@ -30,12 +30,12 @@ concurrency:

jobs:
detect_changes:
uses: ./.github/workflows/sycl_detect_changes.yml
uses: ./.github/workflows/sycl-detect-changes.yml

build:
needs: [detect_changes]
if: always() && success()
uses: ./.github/workflows/sycl_linux_build.yml
uses: ./.github/workflows/sycl-linux-build.yml
with:
build_ref: ${{ github.sha }}
merge_ref: ''
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True
env: '{"LIT_FILTER":"Matrix/"}'
uses: ./.github/workflows/sycl_linux_run_tests.yml
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix. runner }}
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
runner: '["Linux", "gen12"]'
- name: Perf tests on Intel Arc A-Series Graphics system
runner: '["Linux", "arc"]'
uses: ./.github/workflows/sycl_linux_run_tests.yml
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix. runner }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
ubuntu2204_build:
if: github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl_linux_build.yml
uses: ./.github/workflows/sycl-linux-build.yml
secrets: inherit
with:
build_cache_root: "/__w/"
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
target_devices: ext_oneapi_cuda:gpu
uses: ./.github/workflows/sycl_linux_run_tests.yml
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix.runner }}
Expand All @@ -74,7 +74,7 @@ jobs:
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}

build-win:
uses: ./.github/workflows/sycl_windows_build.yml
uses: ./.github/workflows/sycl-windows-build.yml
if: github.repository == 'intel/llvm'
with:
retention-days: 90
Expand All @@ -89,7 +89,7 @@ jobs:
always()
&& !cancelled()
&& needs.build.outputs.build_conclusion == 'success'
uses: ./.github/workflows/sycl_windows_run_tests.yml
uses: ./.github/workflows/sycl-windows-run-tests.yml
with:
name: Intel GEN12 Graphics with Level Zero
runner: '["Windows","gen12"]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ on:
- sycl
- sycl-devops-pr/**
paths:
- .github/workflows/sycl_post_commit.yml
- .github/workflows/sycl_linux_build.yml
- .github/workflows/sycl_linux_run_tests.yml
- .github/workflows/sycl_macos_build_and_test.yml
- .github/workflows/sycl-post-commit.yml
- .github/workflows/sycl-linux-build.yml
- .github/workflows/sycl-linux-run-tests.yml
- .github/workflows/sycl-macos-build-and-test.yml
- ./devops/actions/cleanup
- ./devops/actions/cached_checkout

jobs:
build-lin:
name: Linux (Self build + shared libraries + no-assertions)
if: github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl_linux_build.yml
uses: ./.github/workflows/sycl-linux-build.yml
with:
build_cache_root: "/__w/llvm"
build_cache_suffix: sprod_shared
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
env: '{"LIT_FILTER":"PerformanceTests/"}'
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
target_devices: all
uses: ./.github/workflows/sycl_linux_run_tests.yml
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix. runner }}
Expand All @@ -87,7 +87,7 @@ jobs:
always()
&& success()
&& github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl_windows_build.yml
uses: ./.github/workflows/sycl-windows-build.yml

e2e-win:
needs: build-win
Expand All @@ -96,7 +96,7 @@ jobs:
always()
&& !cancelled()
&& needs.build-win.outputs.build_conclusion == 'success'
uses: ./.github/workflows/sycl_windows_run_tests.yml
uses: ./.github/workflows/sycl-windows-run-tests.yml
with:
name: Intel GEN12 Graphics with Level Zero
runner: '["Windows","gen12"]'
Expand All @@ -105,4 +105,4 @@ jobs:
macos_default:
name: macOS
if: github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl_macos_build_and_test.yml
uses: ./.github/workflows/sycl-macos-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ on:
- 'clang/docs/**'
- '**.md'
- '**.rst'
- '.github/workflows/sycl_linux_*.yml'
- '.github/workflows/sycl_precommit_aws.yml'
- '.github/workflows/sycl_macos_*.yml'
- '.github/workflows/sycl-linux-*.yml'
- '.github/workflows/sycl-precommit-aws.yml'
- '.github/workflows/sycl-macos-*.yml'
- 'devops/containers/**'
- 'devops/actions/build_container/**'

Expand All @@ -32,14 +32,14 @@ concurrency:

jobs:
detect_changes:
uses: ./.github/workflows/sycl_detect_changes.yml
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
uses: ./.github/workflows/sycl-windows-build.yml
with:
changes: ${{ needs.detect_changes.outputs.filters }}

Expand All @@ -50,7 +50,7 @@ jobs:
always()
&& !cancelled()
&& needs.build.outputs.build_conclusion == 'success'
uses: ./.github/workflows/sycl_windows_run_tests.yml
uses: ./.github/workflows/sycl-windows-run-tests.yml
with:
name: Intel GEN12 Graphics with Level Zero
runner: '["Windows","gen12"]'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ For general contribution process see [CONTRIBUTING.md](./CONTRIBUTING.md)

[![oneAPI logo](https://spec.oneapi.io/oneapi-logo-white-scaled.jpg)](https://www.oneapi.io/)

[![SYCL Post Commit](https://github.com/intel/llvm/actions/workflows/sycl_post_commit.yml/badge.svg?branch=sycl)](https://github.com/intel/llvm/actions/workflows/sycl_post_commit.yml)
[![Generate Doxygen documentation](https://github.com/intel/llvm/actions/workflows/gh_pages.yml/badge.svg?branch=sycl)](https://github.com/intel/llvm/actions/workflows/gh_pages.yml)
[![SYCL Post Commit](https://github.com/intel/llvm/actions/workflows/sycl-post-commit.yml/badge.svg?branch=sycl)](https://github.com/intel/llvm/actions/workflows/sycl-post-commit.yml)
[![Generate Doxygen documentation](https://github.com/intel/llvm/actions/workflows/sycl-docs.yml/badge.svg?branch=sycl)](https://github.com/intel/llvm/actions/workflows/sycl-docs.yml)

The DPC++ is a LLVM-based compiler project that implements compiler and runtime
support for the SYCL\* language. The project is hosted in the
Expand Down
Loading