From 602f32303f9e2410fa221d808df3c6fdb5589a31 Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Mon, 29 Jan 2024 11:12:07 -0800 Subject: [PATCH] [CI][NFC] Unify naming scheme for SYCL workflows. 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. --- .../workflows/{sycl_aws.yml => sycl-aws.yml} | 0 ...cl_containers.yaml => sycl-containers.yaml} | 4 ++-- ...ect_changes.yml => sycl-detect-changes.yml} | 0 .../workflows/{gh_pages.yml => sycl-docs.yml} | 2 +- ...cl_linux_build.yml => sycl-linux-build.yml} | 0 ...ml => sycl-linux-matrix-e2e-on-nightly.yml} | 8 ++++---- ...it_aws.yml => sycl-linux-precommit-aws.yml} | 2 +- ..._precommit.yml => sycl-linux-precommit.yml} | 12 ++++++------ ..._run_tests.yml => sycl-linux-run-tests.yml} | 0 ..._test.yml => sycl-macos-build-and-test.yml} | 0 .../{sycl_nightly.yml => sycl-nightly.yml} | 8 ++++---- ...cl_post_commit.yml => sycl-post-commit.yml} | 18 +++++++++--------- ..._stale_issues.yml => sycl-stale-issues.yml} | 0 .../{sync-main.yml => sycl-sync-main.yml} | 0 ...u_driver.yml => sycl-update-gpu-driver.yml} | 0 ...indows_build.yml => sycl-windows-build.yml} | 0 ...recommit.yml => sycl-windows-precommit.yml} | 12 ++++++------ ...un_tests.yml => sycl-windows-run-tests.yml} | 0 README.md | 4 ++-- 19 files changed, 35 insertions(+), 35 deletions(-) rename .github/workflows/{sycl_aws.yml => sycl-aws.yml} (100%) rename .github/workflows/{sycl_containers.yaml => sycl-containers.yaml} (98%) rename .github/workflows/{sycl_detect_changes.yml => sycl-detect-changes.yml} (100%) rename .github/workflows/{gh_pages.yml => sycl-docs.yml} (97%) rename .github/workflows/{sycl_linux_build.yml => sycl-linux-build.yml} (100%) rename .github/workflows/{sycl_linux_matrix_e2e_on_nightly.yml => sycl-linux-matrix-e2e-on-nightly.yml} (94%) rename .github/workflows/{sycl_linux_precommit_aws.yml => sycl-linux-precommit-aws.yml} (98%) rename .github/workflows/{sycl_linux_precommit.yml => sycl-linux-precommit.yml} (94%) rename .github/workflows/{sycl_linux_run_tests.yml => sycl-linux-run-tests.yml} (100%) rename .github/workflows/{sycl_macos_build_and_test.yml => sycl-macos-build-and-test.yml} (100%) rename .github/workflows/{sycl_nightly.yml => sycl-nightly.yml} (96%) rename .github/workflows/{sycl_post_commit.yml => sycl-post-commit.yml} (88%) rename .github/workflows/{sycl_stale_issues.yml => sycl-stale-issues.yml} (100%) rename .github/workflows/{sync-main.yml => sycl-sync-main.yml} (100%) rename .github/workflows/{sycl_update_gpu_driver.yml => sycl-update-gpu-driver.yml} (100%) rename .github/workflows/{sycl_windows_build.yml => sycl-windows-build.yml} (100%) rename .github/workflows/{sycl_windows_precommit.yml => sycl-windows-precommit.yml} (80%) rename .github/workflows/{sycl_windows_run_tests.yml => sycl-windows-run-tests.yml} (100%) diff --git a/.github/workflows/sycl_aws.yml b/.github/workflows/sycl-aws.yml similarity index 100% rename from .github/workflows/sycl_aws.yml rename to .github/workflows/sycl-aws.yml diff --git a/.github/workflows/sycl_containers.yaml b/.github/workflows/sycl-containers.yaml similarity index 98% rename from .github/workflows/sycl_containers.yaml rename to .github/workflows/sycl-containers.yaml index 011d45ee9fee5..bb2e086929847 100644 --- a/.github/workflows/sycl_containers.yaml +++ b/.github/workflows/sycl-containers.yaml @@ -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: diff --git a/.github/workflows/sycl_detect_changes.yml b/.github/workflows/sycl-detect-changes.yml similarity index 100% rename from .github/workflows/sycl_detect_changes.yml rename to .github/workflows/sycl-detect-changes.yml diff --git a/.github/workflows/gh_pages.yml b/.github/workflows/sycl-docs.yml similarity index 97% rename from .github/workflows/gh_pages.yml rename to .github/workflows/sycl-docs.yml index d0d4a130d6f78..73062642535cf 100644 --- a/.github/workflows/gh_pages.yml +++ b/.github/workflows/sycl-docs.yml @@ -7,7 +7,7 @@ on: branches: - sycl paths: - - '.github/workflows/gh_pages.yml' + - '.github/workflows/sycl-docs.yml' - 'clang/docs/**' - 'sycl/doc/**' diff --git a/.github/workflows/sycl_linux_build.yml b/.github/workflows/sycl-linux-build.yml similarity index 100% rename from .github/workflows/sycl_linux_build.yml rename to .github/workflows/sycl-linux-build.yml diff --git a/.github/workflows/sycl_linux_matrix_e2e_on_nightly.yml b/.github/workflows/sycl-linux-matrix-e2e-on-nightly.yml similarity index 94% rename from .github/workflows/sycl_linux_matrix_e2e_on_nightly.yml rename to .github/workflows/sycl-linux-matrix-e2e-on-nightly.yml index 50dc1ca700035..06a5f13674768 100644 --- a/.github/workflows/sycl_linux_matrix_e2e_on_nightly.yml +++ b/.github/workflows/sycl-linux-matrix-e2e-on-nightly.yml @@ -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 }} @@ -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 @@ -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 }}"]' @@ -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 diff --git a/.github/workflows/sycl_linux_precommit_aws.yml b/.github/workflows/sycl-linux-precommit-aws.yml similarity index 98% rename from .github/workflows/sycl_linux_precommit_aws.yml rename to .github/workflows/sycl-linux-precommit-aws.yml index 3fce40107d90e..8ff68e725e447 100644 --- a/.github/workflows/sycl_linux_precommit_aws.yml +++ b/.github/workflows/sycl-linux-precommit-aws.yml @@ -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 }}"]' diff --git a/.github/workflows/sycl_linux_precommit.yml b/.github/workflows/sycl-linux-precommit.yml similarity index 94% rename from .github/workflows/sycl_linux_precommit.yml rename to .github/workflows/sycl-linux-precommit.yml index 8df5237d63d04..eb3f30aebcfe6 100644 --- a/.github/workflows/sycl_linux_precommit.yml +++ b/.github/workflows/sycl-linux-precommit.yml @@ -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/**' @@ -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: '' @@ -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 }} @@ -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 }} diff --git a/.github/workflows/sycl_linux_run_tests.yml b/.github/workflows/sycl-linux-run-tests.yml similarity index 100% rename from .github/workflows/sycl_linux_run_tests.yml rename to .github/workflows/sycl-linux-run-tests.yml diff --git a/.github/workflows/sycl_macos_build_and_test.yml b/.github/workflows/sycl-macos-build-and-test.yml similarity index 100% rename from .github/workflows/sycl_macos_build_and_test.yml rename to .github/workflows/sycl-macos-build-and-test.yml diff --git a/.github/workflows/sycl_nightly.yml b/.github/workflows/sycl-nightly.yml similarity index 96% rename from .github/workflows/sycl_nightly.yml rename to .github/workflows/sycl-nightly.yml index e802af89a29b4..28df4a8b8de13 100644 --- a/.github/workflows/sycl_nightly.yml +++ b/.github/workflows/sycl-nightly.yml @@ -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/" @@ -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 }} @@ -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 @@ -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"]' diff --git a/.github/workflows/sycl_post_commit.yml b/.github/workflows/sycl-post-commit.yml similarity index 88% rename from .github/workflows/sycl_post_commit.yml rename to .github/workflows/sycl-post-commit.yml index 76dd3ac88e3d2..00205a52b03e1 100644 --- a/.github/workflows/sycl_post_commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -12,10 +12,10 @@ 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 @@ -23,7 +23,7 @@ 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 @@ -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 }} @@ -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 @@ -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"]' @@ -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 diff --git a/.github/workflows/sycl_stale_issues.yml b/.github/workflows/sycl-stale-issues.yml similarity index 100% rename from .github/workflows/sycl_stale_issues.yml rename to .github/workflows/sycl-stale-issues.yml diff --git a/.github/workflows/sync-main.yml b/.github/workflows/sycl-sync-main.yml similarity index 100% rename from .github/workflows/sync-main.yml rename to .github/workflows/sycl-sync-main.yml diff --git a/.github/workflows/sycl_update_gpu_driver.yml b/.github/workflows/sycl-update-gpu-driver.yml similarity index 100% rename from .github/workflows/sycl_update_gpu_driver.yml rename to .github/workflows/sycl-update-gpu-driver.yml diff --git a/.github/workflows/sycl_windows_build.yml b/.github/workflows/sycl-windows-build.yml similarity index 100% rename from .github/workflows/sycl_windows_build.yml rename to .github/workflows/sycl-windows-build.yml diff --git a/.github/workflows/sycl_windows_precommit.yml b/.github/workflows/sycl-windows-precommit.yml similarity index 80% rename from .github/workflows/sycl_windows_precommit.yml rename to .github/workflows/sycl-windows-precommit.yml index 2b7883895d97c..3b96b463560a9 100644 --- a/.github/workflows/sycl_windows_precommit.yml +++ b/.github/workflows/sycl-windows-precommit.yml @@ -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/**' @@ -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 }} @@ -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"]' diff --git a/.github/workflows/sycl_windows_run_tests.yml b/.github/workflows/sycl-windows-run-tests.yml similarity index 100% rename from .github/workflows/sycl_windows_run_tests.yml rename to .github/workflows/sycl-windows-run-tests.yml diff --git a/README.md b/README.md index bf72abab3e686..8ab5cda1621bb 100644 --- a/README.md +++ b/README.md @@ -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