elliottt opened PR #5287 from trevor/remove-cmake-from-test
to main
:
Split the CMake tests for exercising the c-api out into a separate step. There
doesn't appear to be any reuse between build artifacts from the CMake-based
tests and the cargo test step later on in theTest
job, so this should speed
up the average build time.Additionally, this PR only runs the CMake tests on ubuntu and windows. I'd be
happy to expand the matrix out to the same set as theTest
job if we think
it's worth it.
<!--Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
elliottt requested alexcrichton for a review on PR #5287.
jameysharp submitted PR review.
jameysharp submitted PR review.
jameysharp created PR review comment:
I suppose you could remove the
matrix.target
bits since this job doesn't try cross-compiling anything. Anyone wanting to test the C API on, say, riscv would need to copy all the qemu machinery from the other job, so expecting them to also addmatrix.target
in appropriate places seems okay too.
elliottt submitted PR review.
elliottt created PR review comment:
Yeah, good point!
elliottt updated PR #5287 from trevor/remove-cmake-from-test
to main
.
elliottt has marked PR #5287 as ready for review.
alexcrichton submitted PR review.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
It's ok to skip these steps since that's only required for one builder to do it.
alexcrichton created PR review comment:
I know windows is weird but we're tight enough on CI budget I'd be ok to drop windows here and just test on Linux
elliottt updated PR #5287 from trevor/remove-cmake-from-test
to main
.
elliottt updated PR #5287 from trevor/remove-cmake-from-test
to main
.
elliottt updated PR #5287 from trevor/remove-cmake-from-test
to main
.
elliottt closed without merge PR #5287.
Last updated: Dec 23 2024 at 13:07 UTC