-
-
Notifications
You must be signed in to change notification settings - Fork 576
refactor: xtask download/build, platform separation #2965
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
|
Opened pr for CI/CD, don't check the code yet |
efc9036 to
ffae62c
Compare
|
huh? why was it force-pushed?... |
|
@The-personified-devil was it pushed by accident? |
|
i will revert changes for now, they don't seem to be changing anything?... (i could have done rebase/merge from master myself later, when i finished with this) |
ffae62c to
efc9036
Compare
… reproducible builds are not possible yet
|
@Meister1593 Sorry, all the messing around with merge-queues made it so this had to be rebased and when github offered me a convenient button I just clicked that forgetting that that's really annoying for the local state of your repo (+ I didn't expect it would put me as the committer). |
Separated download/build process as much as i could and added two more tasks (
download-server-deps,build-server-deps), and made all paths used for dependencies from prepare-deps static (meaning, you can reference them independently from each other).Also separated code for platforms in dependencies as it was getting quite cluttered...
Only lightly touched up code for windows, logic shouldn't be really changed (aside from same path usage as for linux), did not fully refactor it.
This greatly helps package managers on linux that are strict on fetch and build phases, though doesn't fully address it (they still need to build
alvr_xtaskbeforehand somehow).Also
alvr_launcherusescargo installwhich both fetches and buildscargo aboutat the same time (and cargo about by itself uses internet) - this needs cleaning up too, but it is a bit too much for one PR, will do it separately. For now focus is on actual server binaries.