File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 container : swiftlang/swift:nightly-main-jammy@sha256:307c0775191bfe1f08717235c6530ec9d819066e1411cc6ec2cf13859e06219f
11+ env :
12+ STACK_SIZE : 8388608
1113 steps :
1214 - uses : actions/checkout@v4
1315 - run : apt-get update && apt-get install --no-install-recommends -y curl
1921 - run : swift --version
2022 - run : wasmtime -V
2123 - 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