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 Nov 20, 2024
1 parent 24c83a5 commit 3a1d806
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:43546dd7abb89b21fca08e5c420a28af6eb7b1edbc0394f6fda8ca33a30da750
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 3a1d806

Please sign in to comment.