Skip to content

ci: Add swift wasm builds to CI to prevent future breakages to wasm builds #175

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scottmarchant
Copy link

⚠️ This PR is blocked from final testing and merging until dependent PR's are merged.

Change summary

Added swift wasm as a CI target, to help prevent future breakages to swift wasm builds in DataLoader

Details

  • Adds wasm build to pull_request and main, by adding references to new wasm build workflow from swift-nio.

Notes

  • The new wasm workflow in swift-nio isn't merged yet.
  • This PR is part of a larger effort by PassiveLogic to add wasm support to many popular repositories.

PR Dependencies

The following PR's must be merged before this PR can be merged:

Testing done

Verified new github workflow starts correctly. But cannot verify full functionality until the dependent PR's are merged.

See https://github.com/PassiveLogic/swift-distributed-tracing/actions/runs/15858257532/job/44708826507?pr=1

Remaining work

  • Update this PR after swift-nio wasm workflow is merged to main.
  • Run tests on this once all dependent PR's are merged.

Comment on lines +36 to +38
# TODO: Switch to this line after https://github.com/apple/swift-nio/pull/3159/ is merged
# uses: apple/swift-nio/.github/workflows/wasm_sdk.yml@main
uses: kateinoigakukun/swift-nio/.github/workflows/wasm_sdk.yml@katei/add-wasm-ci
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging, this will need changed as follows. Leaving as is until dependencies and testing are in order.

Suggested change
# TODO: Switch to this line after https://github.com/apple/swift-nio/pull/3159/ is merged
# uses: apple/swift-nio/.github/workflows/wasm_sdk.yml@main
uses: kateinoigakukun/swift-nio/.github/workflows/wasm_sdk.yml@katei/add-wasm-ci
uses: apple/swift-nio/.github/workflows/wasm_sdk.yml@main

Comment on lines +29 to +31
# TODO: Switch to this line after https://github.com/apple/swift-nio/pull/3159/ is merged
# uses: apple/swift-nio/.github/workflows/wasm_sdk.yml@main
uses: kateinoigakukun/swift-nio/.github/workflows/wasm_sdk.yml@katei/add-wasm-ci
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging, this will need changed as follows. Leaving as is until dependencies and testing are in order.

Suggested change
# TODO: Switch to this line after https://github.com/apple/swift-nio/pull/3159/ is merged
# uses: apple/swift-nio/.github/workflows/wasm_sdk.yml@main
uses: kateinoigakukun/swift-nio/.github/workflows/wasm_sdk.yml@katei/add-wasm-ci
uses: apple/swift-nio/.github/workflows/wasm_sdk.yml@main

@@ -30,3 +30,9 @@ jobs:
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, the new CI tests in this PR won't pass until #174 is merged (to add wasm compilation support to swift-distributed-tracing).

@scottmarchant scottmarchant marked this pull request as ready for review June 24, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant