Skip to content

Commit 6752df6

Browse files
CI: Avoid stack overflow on Wasm tests by extending the stack size (#131)
1 parent b8c5943 commit 6752df6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ jobs:
5252
with:
5353
swift-version: "wasm-5.9.2-RELEASE"
5454
- name: Build tests
55-
run: swift build --triple wasm32-unknown-wasi --build-tests
55+
# Extend the stack size to avoid stack overflow in the test suites
56+
run: swift build --triple wasm32-unknown-wasi --build-tests -Xlinker -z -Xlinker stack-size=$((1024 * 1024))
5657
- name: Run tests
5758
run: wasmtime .build/debug/swift-custom-dumpPackageTests.wasm
5859

0 commit comments

Comments
 (0)