mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix macros on CI.
The explicit SDK usage means macros fail to compile for macOS. The SDK will be inferred by the destination platform. Note: We no longer use a plugin so I've remove that argument too.
This commit is contained in:
@@ -127,10 +127,8 @@ struct RunTests: AsyncParsableCommand {
|
|||||||
private func executeXcodeBuild() async throws {
|
private func executeXcodeBuild() async throws {
|
||||||
var command = "set -o pipefail && xcodebuild test"
|
var command = "set -o pipefail && xcodebuild test"
|
||||||
command += " -scheme \(scheme)"
|
command += " -scheme \(scheme)"
|
||||||
command += " -sdk iphonesimulator"
|
|
||||||
command += " -destination 'platform=iOS Simulator,name=\(device),OS=\(osVersion),arch=arm64'"
|
command += " -destination 'platform=iOS Simulator,name=\(device),OS=\(osVersion),arch=arm64'"
|
||||||
command += " -resultBundlePath \(resultBundlePath)"
|
command += " -resultBundlePath \(resultBundlePath)"
|
||||||
command += " -skipPackagePluginValidation"
|
|
||||||
|
|
||||||
// Use xcodebuild's native retry support to re-run only failing tests
|
// Use xcodebuild's native retry support to re-run only failing tests
|
||||||
// instead of re-running the entire suite. retries=0 means no retries (single run).
|
// instead of re-running the entire suite. retries=0 means no retries (single run).
|
||||||
|
|||||||
Reference in New Issue
Block a user