File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ Snapshots can be specified with their full name, like "6.1-DEVELOPMENT-SNAPSHOT-
87
87
| run-tests | Whether to run the tests or just perform the build | true |
88
88
| copy-files | Additional files to copy to emulator for testing | |
89
89
| android-emulator-test-folder | Emulator folder where tests are copied | /data/local/tmp/android-xctest |
90
- | android-api-level | The API level of the Android emulator to run against | 29 |
90
+ | android-api-level | The API level of the Android emulator to run against | 30 |
91
91
| android-channel | SDK component channel : stable, beta, dev, canary | stable |
92
92
| android-profile | Hardware profile used for creating the AVD | pixel |
93
93
| android-target | Target of the system image | aosp_atd |
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ inputs:
77
77
android-api-level :
78
78
description : ' The API level of the Android emulator to run against'
79
79
required : true
80
- default : 29
80
+ default : 30
81
81
android-channel :
82
82
required : false
83
83
type : string
@@ -236,11 +236,6 @@ runs:
236
236
/usr/sbin/installer -pkg swift.pkg -target CurrentUserHomeDirectory
237
237
SWIFT_INSTALLATION=${HOME}/Library/Developer/Toolchains/${{ steps.setup.outputs.swift-id }}.xctoolchain/usr
238
238
echo "TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw ${SWIFT_INSTALLATION}/Info.plist)" >> $GITHUB_ENV
239
-
240
- # workaround for https://github.com/swiftlang/swift-package-manager/issues/8362
241
- cd ${SWIFT_INSTALLATION}
242
- cp -f lib/swift/host/plugins/testing/libTestingMacros.dylib lib/swift/host/plugins/ || true
243
- cd -
244
239
else
245
240
echo "::error::Unsupported platform: ${RUNNER_OS}"
246
241
exit 1
@@ -302,7 +297,9 @@ runs:
302
297
echo "SWIFT_SDK_BUNDLE=${SWIFT_SDK_BUNDLE}" >> $GITHUB_ENV
303
298
304
299
echo "swiftroot=${SWIFT_INSTALLATION}" >> $GITHUB_OUTPUT
305
- 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
300
+
301
+ # plugin-path is a workaround for https://github.com/swiftlang/swift-package-manager/issues/8362
302
+ echo "swiftcmd=TARGET_OS_ANDROID=1 SKIP_BRIDGE=1 ${SWIFT_INSTALLATION}/bin/swift build --swift-sdk ${SWIFT_SDK_TARGET} -Xswiftc -plugin-path -Xswiftc ${SWIFT_INSTALLATION}/lib/swift/host/plugins/testing/testing -Xswiftc -DTARGET_OS_ANDROID -Xswiftc -DSKIP_BRIDGE ${{ inputs.swift-build-flags }}" >> $GITHUB_OUTPUT
306
303
echo "swift-sdk=${SWIFT_SDK_TARGET}" >> $GITHUB_OUTPUT
307
304
308
305
- name : Check Swift Version
You can’t perform that action at this time.
0 commit comments