Skip to content

Try tu run this on mac builds #19

Try tu run this on mac builds

Try tu run this on mac builds #19

Workflow file for this run

name: wasm
on:
push:
pull_request:
jobs:
build:
name: Build and Test on WebAssembly
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- 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: "29.0.1"
github_token: ${{ github.token }}
- name: Build and Test
run: ./scripts/build-and-test-wasm.sh