-
Notifications
You must be signed in to change notification settings - Fork 121
feat: add Linux musl target support #995
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
Merged
+611
−255
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
f3e720c
feat: add Linux musl target support for NAPI bindings
fengmk2 f127d39
refactor: consolidate Linux build steps and add fail-fast default case
fengmk2 6917731
feat(ci): add musl CLI E2E test
fengmk2 dbaf6f8
fix(ci): keep rolldown download keyed to runner OS, not Rust target
fengmk2 77a0aa6
fix(ci): use alpine:3.21 instead of node:22-alpine3.21 for musl test
fengmk2 9de8809
revert: use node:22-alpine3.21 for musl test (needs Node.js for NAPI)
fengmk2 0c22b39
fix(ci): add cmake and fix HOME mismatch in Alpine musl test container
fengmk2 093d7fe
fix(ci): use cargo-zigbuild for musl NAPI builds instead of napi-cross
fengmk2 8736e96
fix(ci): add rustup target for musl in build-upstream action
fengmk2 cfed7b3
fix(ci): remove musl from cli-e2e-test matrix
fengmk2 1ad3f6b
fix(ci): set NAPI_RS_NATIVE_LIBRARY_PATH for musl CLI E2E test
fengmk2 b44b3d9
fix(ci): run musl CLI E2E test in Alpine Docker container
fengmk2 1357bf2
fix(ci): copy vp binary directly into Alpine container for musl E2E
fengmk2 39ae5de
fix(ci): run pnpm bootstrap-cli:ci inside Alpine container for musl E2E
fengmk2 687f259
fix(ci): run pnpm install inside Alpine to resolve musl optional deps
fengmk2 6a3ea09
fix(ci): use pnpm install --force to re-resolve musl optional deps
fengmk2 898537b
feat(ci): add snap tests to musl CLI E2E test in Alpine container
fengmk2 e2ee7dc
fix(ci): align musl snap test logic with cli-e2e-test
fengmk2 f6dee18
fix(ci): use system Node.js in Alpine musl E2E with vp env off
fengmk2 192c120
feat: download musl Node.js from unofficial-builds on musl targets
fengmk2 0f96012
fix(ci): download musl rolldown binding inside Alpine container
fengmk2 a87bda6
fix(ci): copy musl rolldown binding to packages/core/dist/rolldown
fengmk2 b43fb40
fix(ci): only copy musl rolldown binding to packages/core/dist/rolldown
fengmk2 7619560
fix(ci): copy musl rolldown binding to correct shared/ subdirectory
fengmk2 9eeb6ea
fix(ci): add safe.directory for git in Alpine Docker container
fengmk2 28ff57e
fix(ci): remove unnecessary Playwright install from musl E2E
fengmk2 3140345
fix: use cfg-gated DEFAULT_NODE_DIST_URL to avoid unused constant on …
fengmk2 2497abe
fix: update Node.js provider tests for musl platform string and URL
fengmk2 e6fa000
debug(ci): run command-pack-exe manually in musl E2E to capture output
fengmk2 989d4b3
debug(ci): also run migration-auto-create-vite-config manually in mus…
fengmk2 94a36dc
feat: support libc filter in snap test ignoredPlatforms
fengmk2 41b3236
refactor: use process.report API for musl detection instead of readin…
fengmk2 a6ef708
fix(ci): copy musl rolldown binding to rolldown/packages/rolldown/dis…
fengmk2 c14f8da
fix: skip command-upgrade-check snap test on musl
fengmk2 6c94d01
fix(ci): add TARGET_CFLAGS for aarch64 musl builds
fengmk2 51a4b30
debug(ci): verify rolldown musl binding files exist after copy
fengmk2 1e0d0d5
debug(ci): isolate migration-auto-create-vite-config snap test in mus…
fengmk2 5870384
debug(ci): run migration-auto-create-vite-config commands directly in…
fengmk2 7084d5f
fix(ci): skip snap tests that install vite-plus from npm on musl
fengmk2 7986818
fix(ci): pass CI=true to Alpine Docker container for musl E2E
fengmk2 4160a8e
fix: use test -f instead of cat for file existence checks in snap tests
fengmk2 e9b86fc
fix(ci): rename Test (musl) to Test (Linux x64 musl)
fengmk2 ddb38dc
fix: use test -f in command-init-inline-config snap test
fengmk2 871dce8
fix: replace cat with test -f and skip command-dlx-npm10 on musl
fengmk2 69b6e0d
fix(ci): use git diff --quiet to avoid duplicate diff output in musl E2E
fengmk2 8b52410
fix: skip create-missing-typecheck snap test on musl
fengmk2 6cdc468
fix(ci): remove dangling run job reference from done gate
fengmk2 686e778
fix(ci): remove redundant cargo check from test-musl job to save CI time
fengmk2 600704d
ci: allow retry the failed native package publishing
Brooooooklyn 31a82b5
simplify publish native addons script
Brooooooklyn af835cc
fix: print install log directly in CI instead of pointing to file
fengmk2 56feff9
debug(ci): add bash -x and CI=true to musl standalone install tests
fengmk2 7e91b2e
fix: avoid error() function exit before printing install log in CI
fengmk2 1068d3c
fix(ci): disable musl standalone install tests until musl support is …
fengmk2 a085027
fix(ci): re-enable musl install tests with libstdc++ dependency
fengmk2 69234de
fix(ci): use direct PATH export in musl install tests instead of source
fengmk2 fa90e0e
feat(ci): add create and build test to musl x64 standalone install
fengmk2 b8cc217
feat(ci): add create and build test to musl arm64 standalone install
fengmk2 56f0dee
docs: add libstdc++ requirement for Alpine/musl platforms
fengmk2 75ecabb
fix(docs): remove --no-cache flag from apk add example
fengmk2 79c4653
fix(ci): comment out create test in ARM64 musl QEMU job
fengmk2 76dbdd5
fix(ci): skip flaky test_verify_file_hash_sha1 in musl test job
fengmk2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.