File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ runs:
197
197
198
198
echo "SWIFT_SDK_HOME=${SWIFT_SDK_HOME}" >> $GITHUB_ENV
199
199
200
- echo "swiftcmd=${SWIFT_INSTALLATION}/bin/swift build --swift-sdk ${SWIFT_SDK_TARGET} -Xswiftc -DSKIP_BRIDGE ${{ inputs.swift-build-flags }}" >> $GITHUB_OUTPUT
200
+ echo "swiftcmd=TARGET_OS_ANDROID=1 SKIP_BRIDGE=1 ${SWIFT_INSTALLATION}/bin/swift build --swift-sdk ${SWIFT_SDK_TARGET} -Xswiftc -DTARGET_OS_ANDROID -Xswiftc -DSKIP_BRIDGE ${{ inputs.swift-build-flags }}" >> $GITHUB_OUTPUT
201
201
echo "swift-sdk=${SWIFT_SDK_TARGET}" >> $GITHUB_OUTPUT
202
202
203
203
- name : Check Swift Version
@@ -214,7 +214,7 @@ runs:
214
214
if [ "${{ inputs.build-tests }}" == 'true' ]; then
215
215
BUILD_TESTS="--build-tests"
216
216
fi
217
- SKIP_BRIDGE=1 ${{ steps.install.outputs.swiftcmd }} ${BUILD_TESTS}
217
+ ${{ steps.install.outputs.swiftcmd }} ${BUILD_TESTS}
218
218
219
219
- name : Prepare Android Emulator Test Script
220
220
if : ${{ inputs.run-tests == 'true' && inputs.build-tests == 'true' && inputs.build-package == 'true' }}
You can’t perform that action at this time.
0 commit comments