Skip to content

Commit

Permalink
Fixing swift Wasm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mustiikhalil committed Nov 18, 2024
1 parent 9809e0f commit b9c5669
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/swift/Wasm.tests/.swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
wasm-6.0.2-RELEASE
2 changes: 1 addition & 1 deletion tests/swift/Wasm.tests/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit b9c5669

Please sign in to comment.