Skip to content

Commit

Permalink
ci: add --wasi threads to wasmtime
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed Jan 20, 2025
1 parent f19b888 commit acd3470
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/swiftwasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
uses: actions/download-artifact@v4
with:
name: swift-format.wasm
- run: wasmtime --dir . swift-format.wasm --version
- run: wasmtime --dir . swift-format.wasm lint -r .
- run: wasmtime --dir . --wasi threads swift-format.wasm --version
- run: wasmtime --dir . --wasi threads swift-format.wasm lint -r .
test:
runs-on: ubuntu-latest
container: swiftlang/swift:nightly-main-jammy@sha256:b26b5ba54743fe2ef662b1aa0cd2ec23f4c9e35ddc15c6a1aca4a772481236a4
Expand All @@ -61,4 +61,4 @@ jobs:
- run: wasmtime -V
- run: swift sdk install $SWIFT_SDK_URL --checksum $SWIFT_SDK_CHECKSUM
- run: swift build -c release --build-tests --swift-sdk $TARGET_TRIPLE -Xlinker -z -Xlinker stack-size=$STACK_SIZE
- run: wasmtime --dir / --wasm max-wasm-stack=$STACK_SIZE .build/release/swift-formatPackageTests.wasm
- run: wasmtime --dir / --wasm max-wasm-stack=$STACK_SIZE --wasi threads .build/release/swift-formatPackageTests.wasm

0 comments on commit acd3470

Please sign in to comment.