Enable test builds with --bootstrap#127909
Open
am11 wants to merge 11 commits intodotnet:mainfrom
Open
Conversation
Member
Author
|
For community platforms, this is the cross-build workflow for runtime development/testing: os=linux
arch=riscv64
# ROOTFS_DIR is set
# cross-build product, --bootstrap
./build.sh clr+libs --cross --arch $arch --os $os --bootstrap
# for rebuild (e.g. after editing code), --use-bootstrap
./build.sh clr+libs --cross --arch $arch --os $os --use-bootstrap
# runtime tests cross-build, --use-bootstrap
src/tests/build.sh -cross -$arch -$os -p:LibrariesConfiguration=Debug --use-bootstrap
# libraries tests cross-build, --use-bootstrap
./build.sh libs.tests --cross --arch $arch --os $os --use-bootstrapcc: |
Member
|
Update PR title to match the content? |
Member
Author
Ah, it somehow used cached title from my previous PR. |
f6b1128 to
f6b70d2
Compare
Contributor
|
So if I am reading this correctly, after this PR, I can:
This is pretty awesome. I gave up trying to do nightly runtime builds / tests more than a year ago because it was such a hassle natively. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src/tests/build.sh --use-bootstrap --cross --riscv64 ...)Fixes #115622