-
Notifications
You must be signed in to change notification settings - Fork 120
FreeBSD Support #2139
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: main
Are you sure you want to change the base?
FreeBSD Support #2139
Conversation
|
Hey, I would really like to add some automated tests can you tell me how to do that? Also I found out during debugging that your debug profile is really bad for debugging. |
|
Wonderful, thank you! We won't be able to do automated tests that actually produce the binaries, but we can test the CI and installer setup by adding more tests to the integration tests here. Maybe add freebsd as a platform to one of the existing tests and see if the diff from If you'd like to do some manual testing, you can do something like my cargodisttest repo with a toy app you have set up to build for freebsd using a git branch as the source for fetching cargo-dist: https://github.com/mistydemeo/cargodisttest Let me know if you need help with any of that. |
- install biinstall - install cross using cargo biinstall
26c69c6 to
cac09ca
Compare
|
I have another question. Was it correct to start from main or should I have started my work from the stable branch? |
|
I also could not test the release. I've created cargodisttest repo and tried to use my version of dist but I get this error: Maybe you can help me figure this out? |
|
I'm very sorry for the late reply! Taking a look at your build, it looks like the problem is that the changes you've made to your local generated config for testing aren't reflected in the code in this branch. When dist runs, it checks to see that your generated CI config is identical to what dist would generate. In this case, you've hand-edited the CI config to pull down your build of dist, but you haven't changed the template in your branch to have those same changes. You can use the Again, I'm sorry for the inconvenience. :/ I know these aren't super great answers. I'll also take a look at our from-git dev config and see about setting up a way to make it possible to configure a different remote for the repo instead of hardcoding axodotdev. |
|
Hey, all good thanks for the reply. |
|
Hey, I am currently fully invested in preparing for the spring boot 4 migration. If you want you can a look at the error I meant: We plan to finish the migration in novemeber so I'll have time again at the end of november. |
|
Hm, I think you might have just forgotten to bump the version in your Cargo.toml! It looks like the tag you pushed is 0.2.1, but the program itself doesn't have version 0.2.1. cargo-dist validates that the version you're trying to release actually exists in the Cargo package. |
|
And no worries - please take your time! I appreciate you taking the time to work on this. |
closes: #2130
Adds support for FreeBSD cross compilation using cross.
This PR also adds the ability to cross compile with cross.
TODOs: