From 41eb92f5885d50a1ec660fbe69130b2b32be7c99 Mon Sep 17 00:00:00 2001 From: Jeremy Schonfeld Date: Wed, 14 Oct 2026 14:58:38 -0700 Subject: [PATCH] Add embedded_wasm_sdk_build_command option to swift_package_test --- .github/workflows/swift_package_test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swift_package_test.yml b/.github/workflows/swift_package_test.yml index 5c7bf628..b04aa389 100644 --- a/.github/workflows/swift_package_test.yml +++ b/.github/workflows/swift_package_test.yml @@ -175,6 +175,10 @@ on: type: string description: "Command to use when building the package with the Swift SDK for Wasm" default: "swift build" + embedded_wasm_sdk_build_command: + type: string + description: "Command to use when building the package with the Embedded Swift SDK for Wasm" + default: "swift build" android_sdk_build_command: type: string description: "Command to use when building the package with the Swift SDK for Android" @@ -716,7 +720,7 @@ jobs: # zizmor: ignore[template-injection] run: | ${{ inputs.wasm_sdk_pre_build_command }} - ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/install-and-build-with-sdk.sh --embedded-wasm --flags="$BUILD_FLAGS" ${{ matrix.swift_version }} + ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/install-and-build-with-sdk.sh --embedded-wasm --flags="$BUILD_FLAGS" --build-command="${{ inputs.embedded_wasm_sdk_build_command }}" ${{ matrix.swift_version }} android-sdk-build: name: Swift SDK for Android Build (${{ matrix.swift_version }} - NDK ${{ matrix.ndk_version }})