-
Notifications
You must be signed in to change notification settings - Fork 375
Add more comprehensive CI tests for packaging #472
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
base: master
Are you sure you want to change the base?
Conversation
f949e25
to
3976a52
Compare
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.
I need to get some time to finally add CMakePresets for the common dev and CI configuartions…
- name: build libblake3 | ||
run: cmake --build c/build --target install | ||
- name: configure blake3-examples | ||
run: cmake --fresh -S c/examples -B c/examples/build -G Ninja -DCMAKE_VERBOSE_MAKEFILE=1 "-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/examples/target" "-DBLAKE3_DIR=${{ github.workspace }}/target/lib/cmake/blake3" |
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.
Maybe it'd be cleaner if we used export(PACKAGE
/ the CMake user package registry1 for this. Thoughts?
Footnotes
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.
Do you mean just for simplifying the test or more generally for release deployment?
I guess I'm not sure how that would look compared to what it is doing now. Maybe you can give an example?
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.
I'll implement a draft today
3976a52
to
304814d
Compare
The Win32 filesystem API is case-insensitive…
a8aac4f
to
4ccbf1d
Compare
I will continue to work on this next week, but feel free to fix stuff or leave feedback in the meantime. |
@oconnor663 do you think it would make sense to employ a GitHub Actions path filter to only run CI checks for the actually affected stuff? https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore |
We could, but there are some pitfalls to watch out for. For example, the Rust crate depends on both |
Use CMakePresets to drive the test project configuration instead of hardcoding flags into the build scripts.
4ccbf1d
to
199d431
Compare
Double checking: There's nothing in this PR that we'd want to hold the v1.8.2 release for, correct? |
Nothing mandatory in this PR. In the future it would be useful to have this in place to help catch configuration issues though. |
199d431
to
e4d5134
Compare
This PR subsumes #464.
This PR fixes #462.
CC @BurningEnlightenment