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
Add a workflow to test building from a read-only source tree #22908
Conversation
297b054
to
25660b8
Compare
The extended job that I just added turns out to be too tough for a read-only source tree. However, maybe that's unfair, as our release tarballs don't contain any submodule or any fuzz test data. |
FWIW, I just tried this locally, but I created the read-only source tree by building a tarball (via utils/mktar.sh), and untaring the results, and that worked for me |
The external tests (or at least some of them) aren't supposed to be runnable with out-of-tree builds. Does the test need to be in a separate workflow file? I would recommend just modifying the existing |
Yeah, I've figured the same thing... and they do require a git checkout, so it's a bit over the top, like I mentioned. But, it was an interesting experiment. I'll remove that commit.
They don't have to. Personally, I'm in favor of smaller, "on topic" files, rather than piling a whole bunch of mixed stuff in one file. |
78e1fe8
to
efa1065
Compare
But in fact this job does not add anything to the existing workflow than just making the source tree read-only. IMO it is a waste of resources to add another job just for this. |
I'm not very attached to the separate workflow file, so I've done a fixup that works along your line of thought, @t8m |
196fe37
to
cd2d9e0
Compare
Thank you! This looks good - the CI passed. Is it ready for review now? |
Also, should this go in master branch only or all active branches? |
I personally think it should go to all release branches. Hmmm, gotta check if this cherry-picks cleanly (a separate workflow file would have diminished the risk of conflicts 😉) |
I'll have to make a backport PR for 3.1 and 3.0 |
This also adds the configuration options 'enable-quic'. Fixes openssl#22907
cd2d9e0
to
1427fbe
Compare
If it's ready for review, you might want to remove the |
Yes. Thank you. Done |
I have verified that this cherry-picks cleanly to openssl-3.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request is ready to merge |
Merged master: 3.2: |
This also adds the configuration options 'enable-quic'. Fixes #22907 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from openssl/openssl#22908) Signed-off-by: fly2x <fly2x@hitls.org>
Fixes #22907 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from openssl/openssl#22908) Signed-off-by: fly2x <fly2x@hitls.org>
This also adds the configuration options 'enable-quic'. Fixes #22907 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from openssl/openssl#22908) (cherry picked from commit 266a3553d743f5335ccdff196a07916f03d34d0d) Signed-off-by: fly2x <fly2x@hitls.org>
Fixes #22907 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from openssl/openssl#22908) (cherry picked from commit 504ff2a4ef5f26990a48ca3d664ac1e5d9cb20b9) Signed-off-by: fly2x <fly2x@hitls.org>
This also adds the configuration options 'enable-quic'. Fixes openssl#22907 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from openssl#22908)
Fixes openssl#22907 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from openssl#22908)
... and deal with the consequences.
Fixes #22907