swiftlang / swiftlang/github-workflows
Add a Wasm workflow
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 115
- Forks
- 57
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 3
Description
Description:
Swift now officially supports WebAssembly (Wasm), so it's a good time to add a workflow for Wasm.
context: https://github.com/apple/swift-argument-parser/pull/794#issuecomment-3045465439
Things to consider:
- What jobs should we add?
- Test targets often have dependencies that are difficult to build for Wasm, such as Foundation and Dispatch, and may not be able to build, so a job that simply builds without testing is important.
- The ability to filter targets in order to build only the library portion is also important. (like
swift build --target <target name>)
- What Swift SDKs should we use?
- Which Swift versions should we support?
- Some versions may lack support of some core libraries.
Related issues:
- #34 (This also requires Swift SDKs.)
Related links:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked context in swift-argument-parser#794 and related issue #34, then compare the Swift SDK options and versions listed in this issue. Define the workflow jobs, including a build-only path and target filtering, and confirm which SDK and Swift versions support them. Done means the repository has a working Wasm workflow with those choices documented or encoded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift, wasm
- Domain
- build-system, ci-cd
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100