Skip to content

Commit 435845b

Browse files
authored
[CI][NFC] Unify naming scheme for SYCL workflows. (#12568)
All GitHub Actions workflows added by intel/llvm project are expected to use following naming notation: 1. Name starts with `sycl` prefix. 2. Use dash `-` to separate words (instead of underscore `_`). This patches fixes naming of workflows which do not follow this notation.
1 parent 85e461e commit 435845b

19 files changed

+35
-35
lines changed
File renamed without changes.

.github/workflows/sycl_containers.yaml renamed to .github/workflows/sycl-containers.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ on:
1212
- 'devops/dependencies.json'
1313
- 'devops/scripts/install_drivers.sh'
1414
- 'devops/scripts/install_build_tools.sh'
15-
- '.github/workflows/sycl_containers.yaml'
15+
- '.github/workflows/sycl-containers.yaml'
1616
pull_request:
1717
paths:
1818
- 'devops/containers/**'
1919
- 'devops/dependencies.json'
2020
- 'devops/scripts/install_drivers.sh'
2121
- 'devops/scripts/install_build_tools.sh'
22-
- '.github/workflows/sycl_containers.yaml'
22+
- '.github/workflows/sycl-containers.yaml'
2323

2424
jobs:
2525
base_image_ubuntu2204:

.github/workflows/gh_pages.yml renamed to .github/workflows/sycl-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- sycl
99
paths:
10-
- '.github/workflows/gh_pages.yml'
10+
- '.github/workflows/sycl-docs.yml'
1111
- 'clang/docs/**'
1212
- 'sycl/doc/**'
1313

.github/workflows/sycl_linux_matrix_e2e_on_nightly.yml renamed to .github/workflows/sycl-linux-matrix-e2e-on-nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build
4949
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
5050
target_devices: ext_oneapi_cuda:gpu
51-
uses: ./.github/workflows/sycl_linux_run_tests.yml
51+
uses: ./.github/workflows/sycl-linux-run-tests.yml
5252
with:
5353
name: ${{ matrix.name }}
5454
runner: ${{ matrix. runner }}
@@ -62,7 +62,7 @@ jobs:
6262

6363
aws_start:
6464
name: AWS Start
65-
uses: ./.github/workflows/sycl_aws.yml
65+
uses: ./.github/workflows/sycl-aws.yml
6666
secrets: inherit
6767
with:
6868
mode: start
@@ -71,7 +71,7 @@ jobs:
7171
linux_e2e_on_nightly_aws:
7272
name: '[AWS][CUDA] E2E on Nightly'
7373
needs: [aws_start]
74-
uses: ./.github/workflows/sycl_linux_run_tests.yml
74+
uses: ./.github/workflows/sycl-linux-run-tests.yml
7575
with:
7676
name: CUDA
7777
runner: '["aws-cuda_${{ github.run_id }}-${{ github.run_attempt }}"]'
@@ -86,7 +86,7 @@ jobs:
8686
name: AWS Stop
8787
needs: [aws_start, linux_e2e_on_nightly_aws]
8888
if: always()
89-
uses: ./.github/workflows/sycl_aws.yml
89+
uses: ./.github/workflows/sycl-aws.yml
9090
secrets: inherit
9191
with:
9292
mode: stop

.github/workflows/sycl_linux_precommit_aws.yml renamed to .github/workflows/sycl-linux-precommit-aws.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
e2e-cuda:
5656
needs: [aws-start]
57-
uses: ./.github/workflows/sycl_linux_run_tests.yml
57+
uses: ./.github/workflows/sycl-linux-run-tests.yml
5858
with:
5959
name: CUDA E2E
6060
runner: '["aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}"]'

.github/workflows/sycl_linux_precommit.yml renamed to .github/workflows/sycl-linux-precommit.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ on:
1818
- 'clang/docs/**'
1919
- '**.md'
2020
- '**.rst'
21-
- '.github/workflows/sycl_windows_*.yml'
22-
- '.github/workflows/sycl_macos_*.yml'
21+
- '.github/workflows/sycl-windows-*.yml'
22+
- '.github/workflows/sycl-macos-*.yml'
2323
- 'devops/containers/**'
2424
- 'devops/actions/build_container/**'
2525

@@ -30,12 +30,12 @@ concurrency:
3030

3131
jobs:
3232
detect_changes:
33-
uses: ./.github/workflows/sycl_detect_changes.yml
33+
uses: ./.github/workflows/sycl-detect-changes.yml
3434

3535
build:
3636
needs: [detect_changes]
3737
if: always() && success()
38-
uses: ./.github/workflows/sycl_linux_build.yml
38+
uses: ./.github/workflows/sycl-linux-build.yml
3939
with:
4040
build_ref: ${{ github.sha }}
4141
merge_ref: ''
@@ -75,7 +75,7 @@ jobs:
7575
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
7676
extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True
7777
env: '{"LIT_FILTER":"Matrix/"}'
78-
uses: ./.github/workflows/sycl_linux_run_tests.yml
78+
uses: ./.github/workflows/sycl-linux-run-tests.yml
7979
with:
8080
name: ${{ matrix.name }}
8181
runner: ${{ matrix. runner }}
@@ -111,7 +111,7 @@ jobs:
111111
runner: '["Linux", "gen12"]'
112112
- name: Perf tests on Intel Arc A-Series Graphics system
113113
runner: '["Linux", "arc"]'
114-
uses: ./.github/workflows/sycl_linux_run_tests.yml
114+
uses: ./.github/workflows/sycl-linux-run-tests.yml
115115
with:
116116
name: ${{ matrix.name }}
117117
runner: ${{ matrix. runner }}

.github/workflows/sycl_nightly.yml renamed to .github/workflows/sycl-nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
ubuntu2204_build:
1010
if: github.repository == 'intel/llvm'
11-
uses: ./.github/workflows/sycl_linux_build.yml
11+
uses: ./.github/workflows/sycl-linux-build.yml
1212
secrets: inherit
1313
with:
1414
build_cache_root: "/__w/"
@@ -59,7 +59,7 @@ jobs:
5959
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
6060
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
6161
target_devices: ext_oneapi_cuda:gpu
62-
uses: ./.github/workflows/sycl_linux_run_tests.yml
62+
uses: ./.github/workflows/sycl-linux-run-tests.yml
6363
with:
6464
name: ${{ matrix.name }}
6565
runner: ${{ matrix.runner }}
@@ -74,7 +74,7 @@ jobs:
7474
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
7575

7676
build-win:
77-
uses: ./.github/workflows/sycl_windows_build.yml
77+
uses: ./.github/workflows/sycl-windows-build.yml
7878
if: github.repository == 'intel/llvm'
7979
with:
8080
retention-days: 90
@@ -89,7 +89,7 @@ jobs:
8989
always()
9090
&& !cancelled()
9191
&& needs.build.outputs.build_conclusion == 'success'
92-
uses: ./.github/workflows/sycl_windows_run_tests.yml
92+
uses: ./.github/workflows/sycl-windows-run-tests.yml
9393
with:
9494
name: Intel GEN12 Graphics with Level Zero
9595
runner: '["Windows","gen12"]'

.github/workflows/sycl_post_commit.yml renamed to .github/workflows/sycl-post-commit.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ on:
1212
- sycl
1313
- sycl-devops-pr/**
1414
paths:
15-
- .github/workflows/sycl_post_commit.yml
16-
- .github/workflows/sycl_linux_build.yml
17-
- .github/workflows/sycl_linux_run_tests.yml
18-
- .github/workflows/sycl_macos_build_and_test.yml
15+
- .github/workflows/sycl-post-commit.yml
16+
- .github/workflows/sycl-linux-build.yml
17+
- .github/workflows/sycl-linux-run-tests.yml
18+
- .github/workflows/sycl-macos-build-and-test.yml
1919
- ./devops/actions/cleanup
2020
- ./devops/actions/cached_checkout
2121

2222
jobs:
2323
build-lin:
2424
name: Linux (Self build + shared libraries + no-assertions)
2525
if: github.repository == 'intel/llvm'
26-
uses: ./.github/workflows/sycl_linux_build.yml
26+
uses: ./.github/workflows/sycl-linux-build.yml
2727
with:
2828
build_cache_root: "/__w/llvm"
2929
build_cache_suffix: sprod_shared
@@ -63,7 +63,7 @@ jobs:
6363
env: '{"LIT_FILTER":"PerformanceTests/"}'
6464
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
6565
target_devices: all
66-
uses: ./.github/workflows/sycl_linux_run_tests.yml
66+
uses: ./.github/workflows/sycl-linux-run-tests.yml
6767
with:
6868
name: ${{ matrix.name }}
6969
runner: ${{ matrix. runner }}
@@ -87,7 +87,7 @@ jobs:
8787
always()
8888
&& success()
8989
&& github.repository == 'intel/llvm'
90-
uses: ./.github/workflows/sycl_windows_build.yml
90+
uses: ./.github/workflows/sycl-windows-build.yml
9191

9292
e2e-win:
9393
needs: build-win
@@ -96,7 +96,7 @@ jobs:
9696
always()
9797
&& !cancelled()
9898
&& needs.build-win.outputs.build_conclusion == 'success'
99-
uses: ./.github/workflows/sycl_windows_run_tests.yml
99+
uses: ./.github/workflows/sycl-windows-run-tests.yml
100100
with:
101101
name: Intel GEN12 Graphics with Level Zero
102102
runner: '["Windows","gen12"]'
@@ -105,4 +105,4 @@ jobs:
105105
macos_default:
106106
name: macOS
107107
if: github.repository == 'intel/llvm'
108-
uses: ./.github/workflows/sycl_macos_build_and_test.yml
108+
uses: ./.github/workflows/sycl-macos-build-and-test.yml

.github/workflows/sycl_windows_precommit.yml renamed to .github/workflows/sycl-windows-precommit.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ on:
1616
- 'clang/docs/**'
1717
- '**.md'
1818
- '**.rst'
19-
- '.github/workflows/sycl_linux_*.yml'
20-
- '.github/workflows/sycl_precommit_aws.yml'
21-
- '.github/workflows/sycl_macos_*.yml'
19+
- '.github/workflows/sycl-linux-*.yml'
20+
- '.github/workflows/sycl-precommit-aws.yml'
21+
- '.github/workflows/sycl-macos-*.yml'
2222
- 'devops/containers/**'
2323
- 'devops/actions/build_container/**'
2424

@@ -32,14 +32,14 @@ concurrency:
3232

3333
jobs:
3434
detect_changes:
35-
uses: ./.github/workflows/sycl_detect_changes.yml
35+
uses: ./.github/workflows/sycl-detect-changes.yml
3636

3737
build:
3838
needs: [detect_changes]
3939
if: |
4040
always() && success()
4141
&& github.repository == 'intel/llvm'
42-
uses: ./.github/workflows/sycl_windows_build.yml
42+
uses: ./.github/workflows/sycl-windows-build.yml
4343
with:
4444
changes: ${{ needs.detect_changes.outputs.filters }}
4545

@@ -50,7 +50,7 @@ jobs:
5050
always()
5151
&& !cancelled()
5252
&& needs.build.outputs.build_conclusion == 'success'
53-
uses: ./.github/workflows/sycl_windows_run_tests.yml
53+
uses: ./.github/workflows/sycl-windows-run-tests.yml
5454
with:
5555
name: Intel GEN12 Graphics with Level Zero
5656
runner: '["Windows","gen12"]'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ For general contribution process see [CONTRIBUTING.md](./CONTRIBUTING.md)
1010

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

13-
[![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)
14-
[![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)
13+
[![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)
14+
[![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)
1515

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

0 commit comments

Comments
 (0)