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 Dec 26, 2024
1 parent 7c740f1 commit 3a1bcc6
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:8857405892f891b95defe85fe6d04ab03c91a1292bfc7e7eea6a6788e7234791
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 3a1bcc6

Please sign in to comment.