Use dart build cli for integration test executable - #4888
Open
mosuem wants to merge 1 commit into
Open
Conversation
mosuem
force-pushed
the
use-dart-build-cli
branch
10 times, most recently
from
August 28, 2026 09:54
8cd7afb to
8966a9f
Compare
- Use `dart build cli` to build a standalone pub executable and bundle native assets for integration tests. - Support running binary executable in `test/test_pub.dart`. - Update `tool/test.dart` and CI test workflow to compile using `dart build cli`.
mosuem
force-pushed
the
use-dart-build-cli
branch
from
August 28, 2026 11:14
8966a9f to
aaf5234
Compare
mosuem
marked this pull request as ready for review
August 28, 2026 12:49
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.
Waiting for https://dart-review.googlesource.com/c/sdk/+/542720
This PR replaces the legacy
dart --snapshotstep withdart build cli.dart build cli -t bin/pub.dart -o .dart_tool/_pub_buildto create an AOT-compiled CLI bundle for integration tests.package:sigstoredynamic libraries) inbundle/lib/.test/test_pub.dartto support directly executing the precompiled binary.tool/test.dartand GitHub Actions CI workflow to usedart build cli.