Skip to content

Consolidate cross-compile targets in CI - #10746

Merged
hcindyl merged 3 commits into
iree-org:mainfrom
hcindyl:combine-cross-compile-targets
Oct 18, 2022
Merged

hcindyl merged 3 commits into
iree-org:mainfrom
hcindyl:combine-cross-compile-targets

Conversation

@hcindyl

@hcindyl hcindyl commented Oct 12, 2022 •

Copy link
Copy Markdown
Contributor

Consolidate cross-compile CI targets (andoird, rv64, rv32-baremetal, rv32-linux) into a matrix.

Emscripten is currently standalone because it is in postsubmit only.

@hcindyl
hcindyl force-pushed the combine-cross-compile-targets branch 2 times, most recently from 5821174 to dadcfc3 Compare October 12, 2022 01:08
@hcindyl hcindyl changed the title [WIP] Combine cross compile targets [WIP] Consolidate cross-compile targets in CI Oct 12, 2022
@hcindyl
hcindyl force-pushed the combine-cross-compile-targets branch 2 times, most recently from c543c1d to a51ecdc Compare October 13, 2022 21:27
@hcindyl
hcindyl force-pushed the combine-cross-compile-targets branch from a51ecdc to 083452e Compare October 14, 2022 16:55
@hcindyl hcindyl changed the title [WIP] Consolidate cross-compile targets in CI Consolidate cross-compile targets in CI Oct 14, 2022
@hcindyl hcindyl added the infrastructure Relating to build systems, CI, or testing label Oct 14, 2022
@hcindyl
hcindyl marked this pull request as ready for review October 14, 2022 17:17
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
@hcindyl
hcindyl merged commit b593bbd into iree-org:main Oct 18, 2022
@hcindyl
hcindyl deleted the combine-cross-compile-targets branch October 18, 2022 05:03
PhaneeshB pushed a commit to PhaneeshB/iree that referenced this pull request Oct 31, 2022
Consolidate cross-compile CI targets (andoird, rv64, rv32-baremetal,
rv32-linux) into a matrix.

Emscripten is currently standalone because it is in postsubmit only.
Comment thread .github/workflows/ci.yml
"./build_tools/cmake/build_riscv.sh && tests/riscv32/smoke.sh"

linux_riscv:
# emscripten is not in the test matrix because it is set as

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could include emscripten and add reference to the matrix in the if stage. Something like

if: needs.setup.outputs.should-run == 'true' && contains(matrix.ci_stages, needs.setup.outputs.ci-stage)
...
- platform: emscripten
  ci_stages: ['postsubmit']

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Let me try it out.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strategy matrix is not visible at if yet
https://github.com/iree-org/iree/actions/runs/3382670562

We can make a separated step to render this matrix, but we can also just wait for emscripten ready for presubmit CI.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh don't worry about it then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants