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

ci: set the CARGO_BUILD_TARGET to reuse same cache #1191

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ahayzen-kdab
Copy link
Collaborator

@ahayzen-kdab ahayzen-kdab commented Feb 17, 2025

Requires #1192

Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (70f555f) to head (ca785db).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1191   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           73        73           
  Lines        12438     12438           
=========================================
  Hits         12438     12438           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ahayzen-kdab ahayzen-kdab force-pushed the ci-share-cmake-cargo-build branch from 444e19f to aa02dcf Compare February 17, 2025 15:50
@ahayzen-kdab ahayzen-kdab force-pushed the ci-share-cmake-cargo-build branch 2 times, most recently from c1cf039 to 2f73836 Compare February 18, 2025 14:37
@ahayzen-kdab ahayzen-kdab changed the title ctest: use same target folder for build rerun test ci: set the CARGO_BUILD_TARGET to reuse same cache Feb 18, 2025
Corrosion sets the --target flag to rustc which means
that crates are built in the target sub folder. Ensure
that other places that call cargo directly reuse this
same folder by setting CARGO_BUILD_TARGET.
@ahayzen-kdab ahayzen-kdab force-pushed the ci-share-cmake-cargo-build branch from 2f73836 to ca785db Compare February 18, 2025 14:56
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