Skip to content

adjustments for experimental embedded support #3

adjustments for experimental embedded support

adjustments for experimental embedded support #3

Workflow file for this run

name: Build Embedded Wasm
on:
push:
branches: [main]
paths:
- "**.swift"
- "**.yml"
pull_request:
branches: [main]
workflow_dispatch:
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
image: ["swiftlang/swift:nightly-main"]
container:
image: ${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
swift build -c release \
--triple wasm32-unknown-none-wasm \
-Xswiftc -enable-experimental-feature -Xswiftc Embedded \
-Xswiftc -enable-experimental-feature -Xswiftc Extern \
-Xswiftc -wmo -Xswiftc -disable-cmo \
-Xswiftc -cxx-interoperability-mode=default \
-Xcc -fdeclspec