File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
runs-on : ubuntu-latest
10
10
container : swiftlang/swift:nightly-main-jammy@sha256:307c0775191bfe1f08717235c6530ec9d819066e1411cc6ec2cf13859e06219f
11
+ env :
12
+ STACK_SIZE : 8388608
11
13
steps :
12
14
- uses : actions/checkout@v4
13
15
- run : apt-get update && apt-get install --no-install-recommends -y curl
19
21
- run : swift --version
20
22
- run : wasmtime -V
21
23
- run : swift experimental-sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-03-22-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-03-22-a-ubuntu22.04_x86_64.artifactbundle.zip
22
- - run : swift build -c release --build-tests --experimental-swift-sdk wasm32-unknown-wasi -Xlinker -z -Xlinker stack-size=524288
23
- - run : wasmtime --dir=/ .build/release/swift-syntaxPackageTests.wasm
24
+ - run : swift build -c release --build-tests --experimental-swift-sdk wasm32-unknown-wasi -Xlinker -z -Xlinker stack-size=$STACK_SIZE
25
+ - run : wasmtime --dir / --wasm max-wasm-stack=$STACK_SIZE .build/release/swift-syntaxPackageTests.wasm
You can’t perform that action at this time.
0 commit comments