[build] Don't build in test#751
Merged
Merged
Conversation
5505468 to
113a3bc
Compare
54b5acc to
295adf9
Compare
295adf9 to
186957a
Compare
186957a to
d52ed05
Compare
d52ed05 to
2d5b276
Compare
5b1ba0e to
75d0968
Compare
527e82b to
b016b8b
Compare
Comment on lines
+145
to
150
| if not preserve_nanvix_root: | ||
| for name in ("cache", "_benchmark_cache", "_ramfs_cache", "out"): | ||
| p = paths.nanvix_root() / name | ||
| if p.is_dir(): | ||
| shutil.rmtree(p) | ||
| print(f"Removed .nanvix/{name}/") |
- ./z build now clean builds both release and test output to .nanvix/out/{release,test}
- _test.py() :: stage() now invoked at build time.
- Removed redundant installation caches from _test.py()
- Reconfigure between builds, preserving release output.
- Update doc comments
b016b8b to
4013747
Compare
Comment on lines
+210
to
213
| # Two separate builds: first release -> out/release/, then test -> out/test/. | ||
| build_mod.clean(preserve_nanvix_root=False, preserve_cache=True) | ||
| args = self._make_args(release=True) | ||
| build_mod.build(args) |
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.
Closes #740