Modernize 2026 #2
Workflow file for this run
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
| name: WASM ALT | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| wasm: | |
| name: WASM ALT (Swift 6.2) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: swift-actions/setup-swift@v2 | |
| with: | |
| swift-version: 6.2.1 | |
| - uses: bytecodealliance/actions/wasmtime/setup@v1 | |
| - name: Install Swift SDK | |
| run: swift sdk install https://download.swift.org/swift-6.2.1-release/wasm-sdk/swift-6.2.1-RELEASE/swift-6.2.1-RELEASE_wasm.artifactbundle.tar.gz --checksum 482b9f95462b87bedfafca94a092cf9ec4496671ca13b43745097122d20f18af | |
| - name: Test | |
| # working-directory: tests/swift/Wasm.tests | |
| run: | | |
| swift sdk list | |
| swift build --build-tests --swift-sdk swift-6.2.1-RELEASE_wasm | |
| echo "---" | |
| ls -la .build/wasm32-unknown-wasip1/debug/*.xctest | |
| echo "---" | |
| wasmtime --dir . .build/wasm32-unknown-wasip1/debug/.build/wasm32-unknown-wasip1/debug/.xctest |