Skip to content

Use https for dependency instead of ssh #58

Use https for dependency instead of ssh

Use https for dependency instead of ssh #58

Workflow file for this run

name: wasm
on:
push:
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
# Use Swift 6.0.3 to match the pinned SDK version in build-and-test-wasm.sh
# The script will automatically install the 6.0.3-RELEASE WASM SDK
- name: Install Swift
uses: swift-actions/setup-swift@v2
with:
swift-version: "6.1"
# Wasmtime is required because `swift test` doesn't work for WebAssembly targets.
# For WASM, we must build tests separately and run them with a WASM runtime.
# See: https://book.swiftwasm.org/getting-started/testing.html
- name: Install Wasmtime
uses: bytecodealliance/actions/wasmtime/setup@v1
with:
version: "40.0.2"
github_token: ${{ github.token }}
- name: Build and Test
run: ./scripts/build-and-test-wasm.sh