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

feat(#534): platform specific builds of vsix #612

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

gordon-to
Copy link

@gordon-to gordon-to commented Nov 14, 2024

Create platform specific vsix builds. closes #534.

  • Updated .github/workflows/ci.yaml
    • update cache action to v4
    • add arch and platform to matrix
    • set TARGET env var to platform-arch
  • Update client/package.json to use TARGET env var in vsce package command

based on https://github.com/microsoft/vscode-platform-specific-sample/blob/main/.github/workflows/ci.yml

OmarTawfik and others added 2 commits September 25, 2024 18:42
> With respect to the failing CI, I recommend removing that workflow and using GitHub Projects's native way of automatically adding issues to projects. That can be done in a separate PR though.

I think @kanej added it. I'm happy to remove it if you don't think it is useful anymore?

_Originally posted by @OmarTawfik in NomicFoundation#598 (comment)
Hello. Changing the name and link to the social network in the documentation
@gordon-to gordon-to marked this pull request as ready for review November 14, 2024 11:28
@antico5
Copy link
Collaborator

antico5 commented Feb 25, 2025

@gordon-to Apologize for the long delay. Could you explain why we need platform-specific vsix files? we always distributed a single package through the vscode marketplace that should work on all supported platforms.

@gordon-to
Copy link
Author

It reduces download size for each platform and there are native bindings in this exension. Slang should also fix its package.json so that these dependencies are only installed on the correct cpu/arch

2.3M ./@nomicfoundation/slang-linux-arm64-gnu
2.3M ./@nomicfoundation/slang-linux-arm64-musl
2.7M ./@nomicfoundation/slang-linux-x64-gnu
2.7M ./@nomicfoundation/slang-linux-x64-musl
2.9M ./@nomicfoundation/slang-darwin-arm64
2.9M ./@nomicfoundation/slang-win32-ia32-msvc
3.3M ./@nomicfoundation/slang-win32-arm64-msvc
3.4M ./@nomicfoundation/slang-darwin-x64
3.9M ./@nomicfoundation/slang-win32-x64-msvc

@antico5
Copy link
Collaborator

antico5 commented Feb 28, 2025

Thanks for the contribution. We are about to release a new version that uses Slang 0.19 (check this PR) , which uses wasm instead of native extensions, so the package size will be greatly reduced. We can revisit this PR after the upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create platform specific builds of the vsix
4 participants