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: Build the full slang-wasm.[js|wasm] targets instead of just the s… #5998

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

aleino-nv
Copy link
Collaborator

…lang library.

A recent build breakage for slang-wasm.[js|wasm] was not noticed by CI since it built the slang library target instead of the slang-wasm.js "executable" target. (We added a that used objcopy to split debug info from executables. objcopy does not report errors when it finds object files with unexpected format inside static libraries, but it does report errors when it's run on an exceutable of unexpected format, such as in the case of slang-wasm.js.)

This closes #5959.

@aleino-nv aleino-nv requested a review from a team as a code owner January 3, 2025 13:01
@aleino-nv aleino-nv added the pr: non-breaking PRs without breaking changes label Jan 3, 2025
…lang library.

A recent build breakage for slang-wasm.[js|wasm] was not noticed by CI since it built the
slang library target instead of the slang-wasm.js "executable" target.
(We added a that used objcopy to split debug info from executables. objcopy does not
report errors when it finds object files with unexpected format inside static libraries,
but it *does* report errors when it's run on an exceutable of unexpected format, such as
in the case of slang-wasm.js.)

This closes shader-slang#5959.
@aleino-nv aleino-nv force-pushed the aleino/full-wasm-build branch from 2c06748 to 1a49f9a Compare January 3, 2025 13:02
@aleino-nv aleino-nv enabled auto-merge (squash) January 3, 2025 13:35
@aleino-nv aleino-nv merged commit f0431b8 into shader-slang:master Jan 5, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The WASM build seemingly fails to detect failure
2 participants