Skip to content

ci: bump Swift SDK to swift-wasm-DEVELOPMENT-SNAPSHOT-2024-03-22-a #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: swiftlang/swift:nightly-main-jammy@sha256:3b07adff994e3b6e1d23173c0a19a0be0e59ea0220f42d8eba1fcc44ff5468b5
container: swiftlang/swift:nightly-main-jammy@sha256:307c0775191bfe1f08717235c6530ec9d819066e1411cc6ec2cf13859e06219f
env:
STACK_SIZE: 16777216
steps:
- uses: actions/checkout@v4
- run: apt-get update && apt-get install --no-install-recommends -y curl
Expand All @@ -18,6 +20,6 @@ jobs:
echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
- run: swift --version
- run: wasmtime -V
- run: swift experimental-sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-03-20-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-03-20-a-ubuntu22.04_x86_64.artifactbundle.zip
- run: swift build -c release --build-tests --experimental-swift-sdk wasm32-unknown-wasi -Xlinker -z -Xlinker stack-size=524288
- run: wasmtime --dir=/ .build/release/swift-syntaxPackageTests.wasm
- 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
- run: swift build -c release --build-tests --experimental-swift-sdk wasm32-unknown-wasi -Xlinker -z -Xlinker stack-size=$STACK_SIZE
- run: wasmtime --dir / --wasm max-wasm-stack=$STACK_SIZE .build/release/swift-syntaxPackageTests.wasm