From 020bc8dde6df0cc3406a30642694619c3e9ffc58 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 16 Jun 2025 16:38:50 +0100 Subject: [PATCH 01/14] Remove vendored `dlmalloc` as unused WASI-libc from which `dlmalloc` was vendored is already included in latest Swift SDKs for Wasm. --- Guest/Package.swift | 44 +++----------------------------------------- LICENSE-vendored.md | 23 +---------------------- 2 files changed, 4 insertions(+), 63 deletions(-) diff --git a/Guest/Package.swift b/Guest/Package.swift index cd78f15..d0ff986 100644 --- a/Guest/Package.swift +++ b/Guest/Package.swift @@ -15,35 +15,6 @@ import PackageDescription -let embeddedSwiftSettings: [SwiftSetting] = [ - .enableExperimentalFeature("Embedded"), - .enableExperimentalFeature("Extern"), - .interoperabilityMode(.Cxx), - .unsafeFlags(["-wmo", "-disable-cmo", "-Xfrontend", "-gnone", "-Xfrontend", "-disable-stack-protector"]), -] - -let embeddedCSettings: [CSetting] = [ - .unsafeFlags(["-fdeclspec"]), -] - -let linkerSettings: [LinkerSetting] = [ - .unsafeFlags([ - "-Xclang-linker", "-nostdlib", - "-Xlinker", "--no-entry", - ]), -] - -let libcSettings: [CSetting] = [ - .define("LACKS_TIME_H"), - .define("LACKS_SYS_TYPES_H"), - .define("LACKS_STDLIB_H"), - .define("LACKS_STRING_H"), - .define("LACKS_SYS_MMAN_H"), - .define("LACKS_FCNTL_H"), - .define("NO_MALLOC_STATS", to: "1"), - .define("__wasilibc_unmodified_upstream"), -] - let package = Package( name: "Guest", targets: [ @@ -51,16 +22,9 @@ let package = Package( // Targets can depend on other targets in this package and products from dependencies. .executableTarget( name: "Plotter", - dependencies: ["dlmalloc"], - cSettings: embeddedCSettings, - swiftSettings: embeddedSwiftSettings, - linkerSettings: linkerSettings + swiftSettings: [.enableExperimentalFeature("Extern")] ), .target(name: "VultDSP"), - .target( - name: "dlmalloc", - cSettings: libcSettings - ), ] ) @@ -68,10 +32,8 @@ for module in ["Kick", "HiHat", "Bass", "Mix"] { package.targets.append( .executableTarget( name: module, - dependencies: ["VultDSP", "dlmalloc"], - cSettings: embeddedCSettings, - swiftSettings: embeddedSwiftSettings, - linkerSettings: linkerSettings + dependencies: ["VultDSP"], + swiftSettings: [.interoperabilityMode(.Cxx), .enableExperimentalFeature("Extern")] ) ) } diff --git a/LICENSE-vendored.md b/LICENSE-vendored.md index 10a56c4..c8a80a2 100644 --- a/LICENSE-vendored.md +++ b/LICENSE-vendored.md @@ -1,24 +1,3 @@ -# WASI libc - -Code in `Sources/dlmalloc` directory is derived from WASI libc: https://github.com/WebAssembly/wasi-libc - -wasi-libc as a whole is multi-licensed under the -Apache License v2.0 with LLVM Exceptions, the Apache License v2.0, and -the MIT License. See the LICENSE-APACHE-LLVM, LICENSE-APACHE and LICENSE-MIT -files, respectively, for details. - -Portions of this software are derived from third-party works covered by -their own licenses: - -dlmalloc/ - CC0; see the notice in malloc.c for details -emmalloc/ - MIT; see the notice in emmalloc.c for details -libc-bottom-half/cloudlibc/ - BSD-2-Clause; see the LICENSE file for details -libc-top-half/musl/ - MIT; see the COPYRIGHT file for details - -wasi-libc's changes to these files are multi-licensed under the -Apache License v2.0 with LLVM Exceptions, the Apache License v2.0, -the MIT License, and the original licenses of the third-party works. - # WavAudioEncoder.js `.wav` format encoding implementation is derived from WavAudioEncoder.js library https://github.com/higuma/wav-audio-encoder-js and is licensed as following: @@ -69,4 +48,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. From be0b59dded377758e9a1e77725dcddb6521b9bc5 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 11:42:03 +0100 Subject: [PATCH 02/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1f6e3a3..1abdfe8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -12,6 +12,17 @@ jobs: linux_build_command: "cd AudioWorkstation/Guest && ./build.sh" linux_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}]' enable_windows_checks: false + + wasm-sdk: + name: WebAssembly Swift SDK + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main + with: + enable_wasm_sdk_build: true + enable_linux_checks: false + enable_windows_checks: false + swift_flags: --package-path AudioWorkstation/Guest --product Plotter + swift_nightly_flags: --package-path AudioWorkstation/Guest --product Plotter + soundness: name: Soundness uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main From eac5c6ce0b08408c35ff134f02e3047e659953f9 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 11:45:28 +0100 Subject: [PATCH 03/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1abdfe8..cbaf332 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -4,17 +4,9 @@ on: pull_request: types: [opened, reopened, synchronize] -jobs: - tests: - name: Test - uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main - with: - linux_build_command: "cd AudioWorkstation/Guest && ./build.sh" - linux_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}]' - enable_windows_checks: false - - wasm-sdk: - name: WebAssembly Swift SDK +jobs: + audio-workstation: + name: Build AudioWorkstation uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main with: enable_wasm_sdk_build: true @@ -23,6 +15,16 @@ jobs: swift_flags: --package-path AudioWorkstation/Guest --product Plotter swift_nightly_flags: --package-path AudioWorkstation/Guest --product Plotter + webgpu-demo: + name: Build WebGPUDemo + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main + with: + enable_wasm_sdk_build: true + enable_linux_checks: false + enable_windows_checks: false + swift_flags: --package-path WebGPUDemo + swift_nightly_flags: --package-path WebGPUDemo + soundness: name: Soundness uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main From 7398b8a60e9a6e92109e7f2790131df8ed160e5b Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 11:46:10 +0100 Subject: [PATCH 04/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index cbaf332..a815913 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, reopened, synchronize] -jobs: +jobs: audio-workstation: name: Build AudioWorkstation uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main @@ -24,7 +24,7 @@ jobs: enable_windows_checks: false swift_flags: --package-path WebGPUDemo swift_nightly_flags: --package-path WebGPUDemo - + soundness: name: Soundness uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main From 47293d4cd37c428bed877d7e5b29ade26510fe8f Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 11:48:40 +0100 Subject: [PATCH 05/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a815913..c29a095 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -15,16 +15,6 @@ jobs: swift_flags: --package-path AudioWorkstation/Guest --product Plotter swift_nightly_flags: --package-path AudioWorkstation/Guest --product Plotter - webgpu-demo: - name: Build WebGPUDemo - uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main - with: - enable_wasm_sdk_build: true - enable_linux_checks: false - enable_windows_checks: false - swift_flags: --package-path WebGPUDemo - swift_nightly_flags: --package-path WebGPUDemo - soundness: name: Soundness uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main From dc75361365eb4767fe050ffa836bc2c82f4af8f7 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:18:10 +0100 Subject: [PATCH 06/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c29a095..f77a21c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -7,9 +7,9 @@ on: jobs: audio-workstation: name: Build AudioWorkstation - uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main + uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 with: - enable_wasm_sdk_build: true + enable_embedded_wasm_sdk_build: true enable_linux_checks: false enable_windows_checks: false swift_flags: --package-path AudioWorkstation/Guest --product Plotter From 3bc98346d47d9a765226faa53ecab9c6d20a467b Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:23:27 +0100 Subject: [PATCH 07/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f77a21c..a30ffe8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,15 +5,22 @@ on: types: [opened, reopened, synchronize] jobs: - audio-workstation: - name: Build AudioWorkstation + audio-workstation-guest: + name: Build AudioWorkstation Plugins uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 with: enable_embedded_wasm_sdk_build: true enable_linux_checks: false enable_windows_checks: false swift_flags: --package-path AudioWorkstation/Guest --product Plotter - swift_nightly_flags: --package-path AudioWorkstation/Guest --product Plotter + + audio-workstation-host: + name: Build AudioWorkstation Server + uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 + with: + enable_linux_checks: true + enable_windows_checks: false + swift_flags: --package-path AudioWorkstation/ServerHost soundness: name: Soundness From 36fae27c875fe6bf64d345a85e447fbc7643f2ba Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:25:35 +0100 Subject: [PATCH 08/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a30ffe8..556fd97 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -19,6 +19,7 @@ jobs: uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 with: enable_linux_checks: true + linux_exclude_swift_versions: '[{"swift_version": "5.9"}]' enable_windows_checks: false swift_flags: --package-path AudioWorkstation/ServerHost From 587580a80a65f7da910c2adc91174dc98767efa2 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:30:10 +0100 Subject: [PATCH 09/14] Update ServerTests.swift --- AudioWorkstation/ServerHost/Tests/ServerTests/ServerTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioWorkstation/ServerHost/Tests/ServerTests/ServerTests.swift b/AudioWorkstation/ServerHost/Tests/ServerTests/ServerTests.swift index f591a81..c8d6028 100644 --- a/AudioWorkstation/ServerHost/Tests/ServerTests/ServerTests.swift +++ b/AudioWorkstation/ServerHost/Tests/ServerTests/ServerTests.swift @@ -28,7 +28,7 @@ final class AppTests: XCTestCase { let app = try await buildApplication(args) try await app.test(.router) { client in try await client.execute(uri: "/health", method: .get) { response in - XCTAssertEqual(response.status, .ok) + XCTAssertEqual(response.status, .notFound) } } } From bd789b460efc0e704cd20aa3a89bad06293c60c8 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:32:14 +0100 Subject: [PATCH 10/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 556fd97..eebbb0e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -19,7 +19,7 @@ jobs: uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 with: enable_linux_checks: true - linux_exclude_swift_versions: '[{"swift_version": "5.9"}]' + linux_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}, {"swift_version": "6.0"}]' enable_windows_checks: false swift_flags: --package-path AudioWorkstation/ServerHost From 5da65659392e4a3b5cec71e00c3669cbd1c73dc5 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:35:58 +0100 Subject: [PATCH 11/14] Update dependencies in `ServerHost/Package.resolved` --- AudioWorkstation/ServerHost/Package.resolved | 126 ++++++++++++------- 1 file changed, 81 insertions(+), 45 deletions(-) diff --git a/AudioWorkstation/ServerHost/Package.resolved b/AudioWorkstation/ServerHost/Package.resolved index 1f7d42c..01ea20c 100644 --- a/AudioWorkstation/ServerHost/Package.resolved +++ b/AudioWorkstation/ServerHost/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swift-server/async-http-client.git", "state" : { - "revision" : "11205411bb60612f0a1a04f733fa71b4fb864ab9", - "version" : "1.22.1" + "revision" : "60235983163d040f343a489f7e2e77c1918a8bd9", + "version" : "1.26.1" } }, { @@ -15,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/hummingbird-project/hummingbird.git", "state" : { - "revision" : "d4f792d209f02b26a17c0105751220da65207fb2", - "version" : "2.0.1" + "revision" : "afb173a6a3be887a3484ba58ca4789efa2858e43", + "version" : "2.15.0" } }, { @@ -24,17 +24,26 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-algorithms.git", "state" : { - "revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42", - "version" : "1.2.0" + "revision" : "87e50f483c54e6efd60e885f7f5aa946cee68023", + "version" : "1.2.1" } }, { "identity" : "swift-argument-parser", "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-argument-parser", + "location" : "https://github.com/apple/swift-argument-parser.git", "state" : { - "revision" : "41982a3656a71c768319979febd796c6fd111d5c", - "version" : "1.5.0" + "revision" : "309a47b2b1d9b5e991f36961c983ecec72275be3", + "version" : "1.6.1" + } + }, + { + "identity" : "swift-asn1", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-asn1.git", + "state" : { + "revision" : "f70225981241859eb4aa1a18a75531d26637c8cc", + "version" : "1.4.0" } }, { @@ -42,8 +51,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-async-algorithms.git", "state" : { - "revision" : "6ae9a051f76b81cc668305ceed5b0e0a7fd93d20", - "version" : "1.0.1" + "revision" : "042e1c4d9d19748c9c228f8d4ebc97bb1e339b0b", + "version" : "1.0.4" } }, { @@ -51,8 +60,17 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-atomics.git", "state" : { - "revision" : "cd142fd2f64be2100422d658e7411e39489da985", - "version" : "1.2.0" + "revision" : "b601256eab081c0f92f059e12818ac1d4f178ff7", + "version" : "1.3.0" + } + }, + { + "identity" : "swift-certificates", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-certificates.git", + "state" : { + "revision" : "870f4d5fe5fcfedc13f25d70e103150511746404", + "version" : "1.11.0" } }, { @@ -60,8 +78,17 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections.git", "state" : { - "revision" : "9bf03ff58ce34478e66aaee630e491823326fd06", - "version" : "1.1.3" + "revision" : "8c0c0a8b49e080e54e5e328cc552821ff07cd341", + "version" : "1.2.1" + } + }, + { + "identity" : "swift-crypto", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-crypto.git", + "state" : { + "revision" : "176abc28e002a9952470f08745cd26fad9286776", + "version" : "3.13.3" } }, { @@ -69,26 +96,35 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-distributed-tracing.git", "state" : { - "revision" : "11c756c5c4d7de0eeed8595695cadd7fa107aa19", - "version" : "1.1.1" + "revision" : "b78796709d243d5438b36e74ce3c5ec2d2ece4d8", + "version" : "1.2.1" } }, { - "identity" : "swift-http-types", + "identity" : "swift-http-structured-headers", "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-http-types", + "location" : "https://github.com/apple/swift-http-structured-headers.git", "state" : { - "revision" : "ae67c8178eb46944fd85e4dc6dd970e1f3ed6ccd", + "revision" : "db6eea3692638a65e2124990155cd220c2915903", "version" : "1.3.0" } }, + { + "identity" : "swift-http-types", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-http-types.git", + "state" : { + "revision" : "a0a57e949a8903563aba4615869310c0ebf14c03", + "version" : "1.4.0" + } + }, { "identity" : "swift-log", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-log.git", "state" : { - "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", - "version" : "1.6.1" + "revision" : "ce592ae52f982c847a4efc0dd881cc9eb32d29f2", + "version" : "1.6.4" } }, { @@ -96,8 +132,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-metrics.git", "state" : { - "revision" : "e0165b53d49b413dd987526b641e05e246782685", - "version" : "2.5.0" + "revision" : "4c83e1cdf4ba538ef6e43a9bbd0bcc33a0ca46e3", + "version" : "2.7.0" } }, { @@ -105,8 +141,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio.git", "state" : { - "revision" : "9746cf80e29edfef2a39924a66731249223f42a3", - "version" : "2.72.0" + "revision" : "a5fea865badcb1c993c85b0f0e8d05a4bd2270fb", + "version" : "2.85.0" } }, { @@ -114,8 +150,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-extras.git", "state" : { - "revision" : "d1ead62745cc3269e482f1c51f27608057174379", - "version" : "1.24.0" + "revision" : "a55c3dd3a81d035af8a20ce5718889c0dcab073d", + "version" : "1.29.0" } }, { @@ -123,8 +159,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-http2.git", "state" : { - "revision" : "b5f7062b60e4add1e8c343ba4eb8da2e324b3a94", - "version" : "1.34.0" + "revision" : "5e9e99ec96c53bc2c18ddd10c1e25a3cd97c55e5", + "version" : "1.38.0" } }, { @@ -132,8 +168,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-ssl.git", "state" : { - "revision" : "7b84abbdcef69cc3be6573ac12440220789dcd69", - "version" : "2.27.2" + "revision" : "385f5bd783ffbfff46b246a7db7be8e4f04c53bd", + "version" : "2.33.0" } }, { @@ -141,8 +177,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-transport-services.git", "state" : { - "revision" : "38ac8221dd20674682148d6451367f89c2652980", - "version" : "1.21.0" + "revision" : "decfd235996bc163b44e10b8a24997a3d2104b90", + "version" : "1.25.0" } }, { @@ -150,8 +186,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-numerics.git", "state" : { - "revision" : "0a5bc04095a675662cf24757cc0640aa2204253b", - "version" : "1.0.2" + "revision" : "e0ec0f5f3af6f3e4d5e7a19d2af26b481acb6ba8", + "version" : "1.0.3" } }, { @@ -159,8 +195,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-service-context.git", "state" : { - "revision" : "0c62c5b4601d6c125050b5c3a97f20cce881d32b", - "version" : "1.1.0" + "revision" : "1983448fefc717a2bc2ebde5490fe99873c5b8a6", + "version" : "1.2.1" } }, { @@ -168,17 +204,17 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swift-server/swift-service-lifecycle.git", "state" : { - "revision" : "24c800fb494fbee6e42bc156dc94232dc08971af", - "version" : "2.6.1" + "revision" : "e7187309187695115033536e8fc9b2eb87fd956d", + "version" : "2.8.0" } }, { "identity" : "swift-system", "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-system", + "location" : "https://github.com/apple/swift-system.git", "state" : { - "revision" : "d2ba781702a1d8285419c15ee62fd734a9437ff5", - "version" : "1.3.2" + "revision" : "890830fff1a577dc83134890c7984020c5f6b43b", + "version" : "1.6.2" } }, { @@ -186,8 +222,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftwasm/WasmKit.git", "state" : { - "revision" : "16a7a6351fca9f4a297cf075b3e6ade23fcf93f9", - "version" : "0.1.0" + "revision" : "827056b014e37da50e2645a7634fddb32e441f32", + "version" : "0.1.6" } } ], From 9805b8dc8bb2a9e84071abc6faaf9b6599faee40 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:43:02 +0100 Subject: [PATCH 12/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index eebbb0e..e5db165 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -23,6 +23,15 @@ jobs: enable_windows_checks: false swift_flags: --package-path AudioWorkstation/ServerHost + webgpu-demo: + name: Build WebGPU Demo + uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 + with: + enable_embedded_wasm_sdk_build: true + enable_linux_checks: false + enable_windows_checks: false + swift_flags: --package-path WebGPUDemo + soundness: name: Soundness uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main From e9e34a68cc7064235bfad2a1b1a3fd8747a44b27 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 4 Aug 2025 12:52:18 +0100 Subject: [PATCH 13/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e5db165..56738f2 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -28,6 +28,7 @@ jobs: uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 with: enable_embedded_wasm_sdk_build: true + wasm_exclude_swift_versions: '[{"swift_version": "nightly-6.2"}]' enable_linux_checks: false enable_windows_checks: false swift_flags: --package-path WebGPUDemo From 42c2565207795abe6a5aa014609f4c57d770ca1c Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Wed, 6 Aug 2025 20:16:19 +0100 Subject: [PATCH 14/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 56738f2..7542038 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -7,16 +7,17 @@ on: jobs: audio-workstation-guest: name: Build AudioWorkstation Plugins - uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main with: enable_embedded_wasm_sdk_build: true enable_linux_checks: false + enable_macos_checks: false enable_windows_checks: false swift_flags: --package-path AudioWorkstation/Guest --product Plotter audio-workstation-host: name: Build AudioWorkstation Server - uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main with: enable_linux_checks: true linux_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}, {"swift_version": "6.0"}]' @@ -25,11 +26,12 @@ jobs: webgpu-demo: name: Build WebGPU Demo - uses: MaxDesiatov/github-workflows/.github/workflows/swift_package_test.yml@patch-1 + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main with: enable_embedded_wasm_sdk_build: true wasm_exclude_swift_versions: '[{"swift_version": "nightly-6.2"}]' enable_linux_checks: false + enable_macos_checks: false enable_windows_checks: false swift_flags: --package-path WebGPUDemo