Skip to content

[CI][NFC] Rename workflow job #6572

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

Merged
merged 2 commits into from
Sep 7, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ on:
outputs:
lts_matrix:
description: "Generated Matrix"
value: ${{ jobs.resolve_matrix.outputs.lts_matrix }}
value: ${{ jobs.test_matrix.outputs.lts_matrix }}
lts_aws_matrix:
description: "Generated Matrix AWS subset"
value: ${{ jobs.resolve_matrix.outputs.lts_aws_matrix }}
value: ${{ jobs.test_matrix.outputs.lts_aws_matrix }}
jobs:
resolve_matrix:
name: Resolve Test Matrix
test_matrix:
name: Generate Test Matrix
runs-on: ubuntu-latest
outputs:
lts_matrix: ${{ steps.work.outputs.lts_matrix }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sycl_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ on:
- '.github/workflows/sycl_nightly.yml'

jobs:
resolve_matrix:
name: Resolve Test Matrix
uses: ./.github/workflows/sycl_resolve_test_matrix.yml
test_matrix:
name: Generate Test Matrix
uses: ./.github/workflows/sycl_gen_test_matrix.yml
with:
lts_config: "ocl_gen9;ocl_x64"

ubuntu2004_build_test:
if: github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl_linux_build_and_test.yml
needs: resolve_matrix
needs: test_matrix
secrets: inherit
with:
build_cache_root: "/__w/"
Expand All @@ -29,7 +29,7 @@ jobs:
ubuntu2004_opaque_pointers_build_test:
if: github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl_linux_build_and_test.yml
needs: resolve_matrix
needs: test_matrix
secrets: inherit
with:
build_cache_root: "/__w/"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sycl_post_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ on:

jobs:
# This job generates matrix of tests for LLVM Test Suite
resolve_matrix:
name: Resolve Test Matrix
uses: ./.github/workflows/sycl_resolve_test_matrix.yml
test_matrix:
name: Generate Test Matrix
uses: ./.github/workflows/sycl_gen_test_matrix.yml
with:
lts_config: "l0_gen9"
linux_default:
name: Linux Default
needs: resolve_matrix
needs: test_matrix
uses: ./.github/workflows/sycl_linux_build_and_test.yml
secrets: inherit
with:
build_cache_root: "/__w/llvm"
build_artifact_suffix: "post_commit"
lts_matrix: ${{ needs.resolve_matrix.outputs.lts_matrix }}
lts_aws_matrix: ${{ needs.resolve_matrix.outputs.lts_aws_matrix }}
lts_matrix: ${{ needs.test_matrix.outputs.lts_matrix }}
lts_aws_matrix: ${{ needs.test_matrix.outputs.lts_aws_matrix }}
linux_no_assert:
name: Linux (no assert)
uses: ./.github/workflows/sycl_linux_build_and_test.yml
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sycl_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
uses: ./devops/actions/clang-format

# This job generates matrix of tests for LLVM Test Suite
resolve_matrix:
name: Resolve Test Matrix
uses: ./.github/workflows/sycl_resolve_test_matrix.yml
test_matrix:
name: Generate Test Matrix
uses: ./.github/workflows/sycl_gen_test_matrix.yml
with:
lts_config: "hip_amdgpu;ocl_x64;ocl_gen9;l0_gen9;esimd_emu;cuda"

linux_default:
name: Linux
# Only build and test patches, that have passed all linter checks, because
# the next commit is likely to be a follow-up on that job.
needs: [lint, resolve_matrix]
needs: [lint, test_matrix]
if: always() && (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint'))
uses: ./.github/workflows/sycl_linux_build_and_test.yml
secrets: inherit
Expand All @@ -55,5 +55,5 @@ jobs:
build_cache_size: "8G"
build_artifact_suffix: "default"
build_cache_suffix: "default"
lts_matrix: ${{ needs.resolve_matrix.outputs.lts_matrix }}
lts_aws_matrix: ${{ needs.resolve_matrix.outputs.lts_aws_matrix }}
lts_matrix: ${{ needs.test_matrix.outputs.lts_matrix }}
lts_aws_matrix: ${{ needs.test_matrix.outputs.lts_aws_matrix }}