Repository navigation
Merge build_test_runtime jobs into a single matrix. - #17509
Conversation
e5185e5 to
69143cb
Compare
Progress on #17136. Similar to #17509, this folds the five `regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and `test_models`, with most steps shared. The "model" tests are still verbose to configure here as we have multiple variants on some backends. Depending on how much we want to unify or diverge we could continue to refactor further. ci-exactly: build_packages,regression_test
| # Jobs that build IREE in some non-default configuration | ||
| ############################################################################## | ||
|
|
||
| build_test_runtime: |
There was a problem hiding this comment.
Yeah that would be fine. I wonder why github repeats the matrix name inside the matrix when we can already see the header
There was a problem hiding this comment.
I'm on the fence about the naming, at least while there are so many other jobs not in matrices. Some jobs only build, and some jobs run tests using packages (so they aren't "building" the compiler portion of the project), so spelling out "build_test" here does help.
Might just continue to update the names as I refactor the rest of the workflow files.
|
Do we plan on upgrading the ubuntu and windows being tested? |
We don't have any particular preference / policy on min/max versions to test and when to change that. Ideally we'd just test on all configurations (Sorta like https://github.com/iree-org/iree-template-runtime-cmake/blob/main/.github/workflows/build-and-test.yml across OS versions and compilers). Moving the existing jobs into a matrix is setup for those sorts of changes. |
Progress on iree-org#17136. Similar to iree-org#17509, this folds the five `regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and `test_models`, with most steps shared. The "model" tests are still verbose to configure here as we have multiple variants on some backends. Depending on how much we want to unify or diverge we could continue to refactor further. ci-exactly: build_packages,regression_test
This folds the three 'build_test_runtime' jobs (Linux x86, Linux arm64, Windows) into a single matrix with most steps shared. I'm similarly planning on merging more jobs using matrices: iree-org#17136. This does limit how "CI behavior manipulation" (https://iree.dev/developers/general/contributing/#ci-behavior-manipulation) works - for example now setting `ci-exactly: build_test_runtime` will run these 3 jobs, and they cannot be run individually. * A solution like https://stackoverflow.com/questions/65384420/how-do-i-make-a-github-action-matrix-element-conditional would be needed to keep the old behavior. We actually have a version of that already in the `generate_matrix` step of https://github.com/iree-org/iree/blob/main/.github/workflows/benchmark_execution.yml (sample logs: https://github.com/iree-org/iree/actions/runs/9214012269/job/25350287269), but I have mixed feelings about the complexity involved there.
Progress on iree-org#17136. Similar to iree-org#17509, this folds the five `regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and `test_models`, with most steps shared. The "model" tests are still verbose to configure here as we have multiple variants on some backends. Depending on how much we want to unify or diverge we could continue to refactor further. ci-exactly: build_packages,regression_test
This folds the three 'build_test_runtime' jobs (Linux x86, Linux arm64, Windows) into a single matrix with most steps shared. I'm similarly planning on merging more jobs using matrices: iree-org#17136. This does limit how "CI behavior manipulation" (https://iree.dev/developers/general/contributing/#ci-behavior-manipulation) works - for example now setting `ci-exactly: build_test_runtime` will run these 3 jobs, and they cannot be run individually. * A solution like https://stackoverflow.com/questions/65384420/how-do-i-make-a-github-action-matrix-element-conditional would be needed to keep the old behavior. We actually have a version of that already in the `generate_matrix` step of https://github.com/iree-org/iree/blob/main/.github/workflows/benchmark_execution.yml (sample logs: https://github.com/iree-org/iree/actions/runs/9214012269/job/25350287269), but I have mixed feelings about the complexity involved there.
Progress on iree-org#17136. Similar to iree-org#17509, this folds the five `regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and `test_models`, with most steps shared. The "model" tests are still verbose to configure here as we have multiple variants on some backends. Depending on how much we want to unify or diverge we could continue to refactor further. ci-exactly: build_packages,regression_test
This folds the three 'build_test_runtime' jobs (Linux x86, Linux arm64, Windows) into a single matrix with most steps shared. I'm similarly planning on merging more jobs using matrices: iree-org#17136. This does limit how "CI behavior manipulation" (https://iree.dev/developers/general/contributing/#ci-behavior-manipulation) works - for example now setting `ci-exactly: build_test_runtime` will run these 3 jobs, and they cannot be run individually. * A solution like https://stackoverflow.com/questions/65384420/how-do-i-make-a-github-action-matrix-element-conditional would be needed to keep the old behavior. We actually have a version of that already in the `generate_matrix` step of https://github.com/iree-org/iree/blob/main/.github/workflows/benchmark_execution.yml (sample logs: https://github.com/iree-org/iree/actions/runs/9214012269/job/25350287269), but I have mixed feelings about the complexity involved there.
Progress on iree-org#17136. Similar to iree-org#17509, this folds the five `regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and `test_models`, with most steps shared. The "model" tests are still verbose to configure here as we have multiple variants on some backends. Depending on how much we want to unify or diverge we could continue to refactor further. ci-exactly: build_packages,regression_test Signed-off-by: Lubo Litchev <[email protected]>
This folds the three 'build_test_runtime' jobs (Linux x86, Linux arm64, Windows) into a single matrix with most steps shared. I'm similarly planning on merging more jobs using matrices: iree-org#17136. This does limit how "CI behavior manipulation" (https://iree.dev/developers/general/contributing/#ci-behavior-manipulation) works - for example now setting `ci-exactly: build_test_runtime` will run these 3 jobs, and they cannot be run individually. * A solution like https://stackoverflow.com/questions/65384420/how-do-i-make-a-github-action-matrix-element-conditional would be needed to keep the old behavior. We actually have a version of that already in the `generate_matrix` step of https://github.com/iree-org/iree/blob/main/.github/workflows/benchmark_execution.yml (sample logs: https://github.com/iree-org/iree/actions/runs/9214012269/job/25350287269), but I have mixed feelings about the complexity involved there. Signed-off-by: Lubo Litchev <[email protected]>

This folds the three 'build_test_runtime' jobs (Linux x86, Linux arm64, Windows) into a single matrix with most steps shared. I'm similarly planning on merging more jobs using matrices: #17136.
This does limit how "CI behavior manipulation" (https://iree.dev/developers/general/contributing/#ci-behavior-manipulation) works - for example now setting
ci-exactly: build_test_runtimewill run these 3 jobs, and they cannot be run individually.generate_matrixstep of https://github.com/iree-org/iree/blob/main/.github/workflows/benchmark_execution.yml (sample logs: https://github.com/iree-org/iree/actions/runs/9214012269/job/25350287269), but I have mixed feelings about the complexity involved there.