Skip to content

Commit

Permalink
usign latest swift-wasm release
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangel-dev committed Oct 21, 2024
1 parent ce582d3 commit bed7b32
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
strategy:
matrix:
include:
- toolchain: swift-DEVELOPMENT-SNAPSHOT-2024-10-08-a
swift-sdk: swift-wasm-DEVELOPMENT-SNAPSHOT-2024-10-15-a
checksum: 229cd9d3b0ed582c7ef7c3064888ad78764e4743b5a770df92554a94513f53fb
- toolchain: swift-5.10-DEVELOPMENT-SNAPSHOT-2024-05-29-a
swift-sdk: swift-wasm-5.10.0-RELEASE
checksum: 511904522b87c0841b151a46aa9a515ab6eae457f45426922b04c1e461705a3a
steps:
- uses: actions/checkout@v4
- uses: bytecodealliance/actions/wasmtime/setup@v1
Expand All @@ -101,14 +101,14 @@ jobs:
run: |
SWIFT_TOOLCHAIN_TAG="${{ matrix.toolchain }}"
set -ex
curl -f -o /tmp/swift-sdk.tar.gz "https://download.swift.org/development/ubuntu2204/$SWIFT_TOOLCHAIN_TAG/$SWIFT_TOOLCHAIN_TAG-ubuntu22.04.tar.gz"
curl -f -o /tmp/swift-sdk.tar.gz "https://github.com/swiftlang/swift/archive/refs/tags/$SWIFT_TOOLCHAIN_TAG.tar.gz"
- name: Install Swift and Swift SDK for WebAssembly
run: |
PREFIX=/opt/swift
SWIFT_SDK_TAG="${{ matrix.swift-sdk }}"
set -ex
sudo mkdir -p $PREFIX; sudo tar -xzf /tmp/swift-sdk.tar.gz -C $PREFIX --strip-component 1
$PREFIX/usr/bin/swift sdk install "https://github.com/swiftwasm/swift/releases/download/$SWIFT_SDK_TAG/$SWIFT_SDK_TAG-wasm32-unknown-wasi.artifactbundle.zip" --checksum ${{ matrix.checksum }}
$PREFIX/usr/bin/swift sdk install "https://github.com/swiftwasm/swift/releases/download/$SWIFT_SDK_TAG/$SWIFT_SDK_TAG-ubuntu22.04_x86_64.artifactbundle.zip" --checksum ${{ matrix.checksum }}
echo "$PREFIX/usr/bin" >> $GITHUB_PATH
- name: Build tests
run: swift build --swift-sdk wasm32-unknown-wasi --build-tests -Xlinker "`pwd`/libuniffi_automerge.a" -Xlinker -z -Xlinker stack-size=$((1024 * 1024))
Expand Down

0 comments on commit bed7b32

Please sign in to comment.