Skip to content
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

Build extra CI scenarios #46

Merged
merged 2 commits into from
Oct 8, 2023
Merged

Build extra CI scenarios #46

merged 2 commits into from
Oct 8, 2023

Conversation

robo9k
Copy link
Owner

@robo9k robo9k commented Oct 8, 2023

This runs cargo build and cargo test while dynamically linking against libmagic.
The non-extra build does the same but statically.

This also uses cargo vcpkg with cargo test and defaults for Windows.
Building without vcpkg on Windows, e.g. with MSYS2 for target x86_64-pc-windows-gnu, is untested and thus unsupported for now.

@robo9k robo9k mentioned this pull request Oct 8, 2023
6 tasks
@robo9k robo9k force-pushed the build-extra branch 2 times, most recently from 86328e5 to 3023e57 Compare October 8, 2023 00:32
@robo9k
Copy link
Owner Author

robo9k commented Oct 8, 2023

Looks like the hardcoded rev = "078f3e5" in [package.metadata.vcpkg] references files that no longer exist on the MSYS2 mirrors.
Have to sneak in an unrelated-to-CI fix there.

Note that this only tests the default x64-windows-static-md community triplet for cargo-vcpkg.
For dynamic linkage, the hardcoded [package.metadata.vcpkg.target] triplet might be an issue.

@robo9k robo9k force-pushed the build-extra branch 2 times, most recently from e4bb126 to 24b7da3 Compare October 8, 2023 01:26
Signed-off-by: robot9001 <[email protected]>
@robo9k robo9k merged commit 9a826e0 into main Oct 8, 2023
@robo9k robo9k deleted the build-extra branch October 8, 2023 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant