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

Set CARGO_HOME for CI so deps arent redownloaded #1497

Merged
merged 6 commits into from Mar 18, 2021
Merged

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Mar 18, 2021

No idea why this is failing, and its even ignoring some commands.

@Nutomic
Copy link
Member Author

Nutomic commented Mar 18, 2021

This should work now, somehow the binary path changed from target/x86_64-unknown-linux-musl/debug/lemmy_server to target/debug/lemmy_server. But drone is having network problems, so we need to restart the build later.

@Nutomic
Copy link
Member Author

Nutomic commented Mar 18, 2021

Had to make another change but now its finally working. x86 build time improved from 8 minutes to 6:30, and ARM from 11 minutes to 9 minutes.

@dessalines dessalines merged commit 33a3268 into main Mar 18, 2021
@dessalines dessalines deleted the ci-cargo-home2 branch April 7, 2021 20:40
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.

None yet

2 participants