-
Notifications
You must be signed in to change notification settings - Fork 29
36 lines (34 loc) · 961 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
33
34
35
36
name: Wasm
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
wasm_test:
name: Execute tests on WASM
strategy:
fail-fast: false
matrix:
swift_version: ["6.0.2-RELEASE"]
os: [ubuntu-22.04]
extra_params: [""]
runs-on: ${{ matrix.os }}
env:
OPENSWIFTUI_WERROR: 1
OPENGRAPH_ATTRIBUTEGRAPH: 0
OPENSWIFTUI_COMPATIBILITY_TEST: 0
OPENSWIFTUI_SWIFT_LOG: 1
OPENSWIFTUI_SWIFT_CRYPTO: 1
steps:
- uses: actions/checkout@v4
- uses: swiftwasm/setup-swiftwasm@v1
with:
swift-version: wasm-${{ matrix.swift_version }}
- name: build
run: |
swift build --triple wasm32-unknown-wasi ${{ matrix.extra_params }}
continue-on-error: true # See https://github.com/swiftwasm/swift/issues/5592
# - name: test
# run: |
# swift test --triple wasm32-unknown-wasi ${{ matrix.extra_params }}