From b9c566953e36f45bf4ab60cc1f044c1e6a74e755 Mon Sep 17 00:00:00 2001 From: mustiikhalil <26250654+mustiikhalil@users.noreply.github.com> Date: Mon, 18 Nov 2024 23:10:11 +0100 Subject: [PATCH] Fixing swift Wasm ci --- .github/workflows/build.yml | 19 +++++++++---------- tests/swift/Wasm.tests/.swift-version | 1 + tests/swift/Wasm.tests/Package.swift | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 tests/swift/Wasm.tests/.swift-version diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31d5d46e931..48aa5905a10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -508,17 +508,16 @@ jobs: name: Build Swift Wasm runs-on: ubuntu-24.04 container: - image: ghcr.io/swiftwasm/carton:0.15.3 + image: ghcr.io/swiftwasm/carton:0.20.1 steps: - - uses: actions/checkout@v3 - - name: Setup Wasmer - uses: wasmerio/setup-wasmer@v2 - - uses: swiftwasm/setup-swiftwasm@v1 - with: - swift-version: "wasm-5.9.2-RELEASE" - - name: Test - working-directory: tests/swift/Wasm.tests - run: swift run carton test + - uses: actions/checkout@v3 + - uses: bytecodealliance/actions/wasmtime/setup@v1 + - uses: swiftwasm/setup-swiftwasm@v1 + with: + swift-version: "wasm-6.0.2-RELEASE" + - name: Test + working-directory: tests/swift/Wasm.tests + run: swift run carton test build-ts: name: Build TS diff --git a/tests/swift/Wasm.tests/.swift-version b/tests/swift/Wasm.tests/.swift-version new file mode 100644 index 00000000000..a00b467039c --- /dev/null +++ b/tests/swift/Wasm.tests/.swift-version @@ -0,0 +1 @@ +wasm-6.0.2-RELEASE \ No newline at end of file diff --git a/tests/swift/Wasm.tests/Package.swift b/tests/swift/Wasm.tests/Package.swift index f5994cd506b..a7573d6c706 100644 --- a/tests/swift/Wasm.tests/Package.swift +++ b/tests/swift/Wasm.tests/Package.swift @@ -24,7 +24,7 @@ let package = Package( ], dependencies: [ .package(path: "../../.."), - .package(url: "https://github.com/swiftwasm/carton", exact: "1.0.1"), + .package(url: "https://github.com/swiftwasm/carton", exact: "1.1.2"), ], targets: [ .target(name: "Wasm"),