Skip to content

Add wasm CI support

Add wasm CI support #3

Workflow file for this run

name: Wasm
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
wasmer_test:
name: Execute tests on WASM
strategy:
fail-fast: false
matrix:
swift_version: ["wasm-5.9.1-RELEASE", "wasm-DEVELOPMENT-SNAPSHOT-2024-01-22-a"]
os: [ubuntu-22.04]
include:
- swift_version: "wasm-5.9.1-RELEASE"
extra_params: "-Xswiftc -Xfrontend -Xswiftc -disable-round-trip-debug-types" # https://github.com/swiftwasm/swift/issues/5563#issuecomment-1913533592
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: swiftwasm/setup-swiftwasm@v1
with:
swift-version: ${{ matrix.swift_version }}
- name: build
run: |
swift build ${{ matrix.extra_params }}
# - name: test
# run: |
# swift test