Skip to content

Commit

Permalink
Temp test multiple producers + consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Apr 22, 2024
1 parent 2290522 commit d84a460
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/compute-matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,15 @@ def generate_dispatch_job_json(matrix_job, job_type):
# Create a single build producer, and a separate consumer for each test_job_type:
def generate_dispatch_build_and_test_json(matrix_job, build_job_type, test_job_types):
build_json = generate_dispatch_job_json(matrix_job, build_job_type)
nvrtc_json = generate_dispatch_job_json(matrix_job, "nvrtc")

test_json = {}
for test_job_type in test_job_types:
test_json.update(generate_dispatch_job_json(matrix_job, test_job_type))

return {
"producers": [build_json],
"consumers": [test_json]
"producers": [build_json, nvrtc_json],
"consumers": [test_json, test_json]
}


Expand Down

0 comments on commit d84a460

Please sign in to comment.