Update dependency swiftwasm/JavaScriptKit to from: "0.56.1" #78
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
| # Build Swift for WASM to verify the WebGPU WASM backend compiles. | |
| name: Build (WASM - Embedded) | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| name: Build (WASM - Embedded) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Read Swift version | |
| id: swift-version | |
| run: echo "version=$(cat .swift-version)" >> "$GITHUB_OUTPUT" | |
| - name: Read CI versions | |
| id: ci-versions | |
| run: echo "tc=$(grep '^CI_TC_VERSION_EMBEDDED=' .swan-config | cut -d= -f2)" >> "$GITHUB_OUTPUT" | |
| - uses: swift-actions/setup-swift@v3 | |
| with: | |
| swift-version: "${{ steps.ci-versions.outputs.tc }}" | |
| skip-verify-signature: true | |
| - name: Install Swift WASM SDK | |
| run: make sdk-install | |
| - name: Build WebGPU (Embedded) | |
| run: make wasm-build SWIFT_MODE=embedded | |
| - name: Build BitonicSort (Embedded) | |
| run: make wasm-build-bitonic SWIFT_MODE=embedded |