-
Notifications
You must be signed in to change notification settings - Fork 27
32 lines (30 loc) · 1002 Bytes
/
wasm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"]
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 --triple wasm32-unknown-wasi ${{ matrix.extra_params }}
# Blocked by upstream support for WASM. See https://github.com/apple/swift-testing/issues/228
# - name: test
# run: |
# swift test --triple wasm32-unknown-wasi ${{ matrix.extra_params }}