Skip to content

Commit

Permalink
CI: Avoid stack overflow on Wasm tests by extending the stack size (#131
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kateinoigakukun authored Aug 27, 2024
1 parent b8c5943 commit 6752df6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jobs:
with:
swift-version: "wasm-5.9.2-RELEASE"
- name: Build tests
run: swift build --triple wasm32-unknown-wasi --build-tests
# Extend the stack size to avoid stack overflow in the test suites
run: swift build --triple wasm32-unknown-wasi --build-tests -Xlinker -z -Xlinker stack-size=$((1024 * 1024))
- name: Run tests
run: wasmtime .build/debug/swift-custom-dumpPackageTests.wasm

Expand Down

0 comments on commit 6752df6

Please sign in to comment.