|
|
|
@ -90,7 +90,7 @@ local update_cocoapods_cache(depends_on) = {
|
|
|
|
|
local run_tests(testName, testBuildStepName) = {
|
|
|
|
|
name: 'Run ' + testName,
|
|
|
|
|
commands: [
|
|
|
|
|
'NSUnbufferedIO=YES set -o pipefail && xcodebuild test-without-building -workspace Session.xcworkspace -scheme Session -derivedDataPath ./build/derivedData -destination "platform=iOS Simulator,name=iPhone 14" -test-timeouts-enabled YES -maximum-test-execution-time-allowance 10 -only-testing ' + testName,
|
|
|
|
|
'NSUnbufferedIO=YES set -o pipefail && xcodebuild test-without-building -workspace Session.xcworkspace -scheme Session -derivedDataPath ./build/derivedData -destination "platform=iOS Simulator,name=iPhone 14" -test-timeouts-enabled YES -maximum-test-execution-time-allowance 10 -only-testing ' + testName + ' -collect-test-diagnostics never 2>&1 | xcbeautify --is-ci',
|
|
|
|
|
],
|
|
|
|
|
depends_on: [
|
|
|
|
|
testBuildStepName
|
|
|
|
@ -125,7 +125,7 @@ local run_tests(testName, testBuildStepName) = {
|
|
|
|
|
name: 'Build For Testing',
|
|
|
|
|
commands: [
|
|
|
|
|
'mkdir build',
|
|
|
|
|
'xcodebuild build-for-testing -workspace Session.xcworkspace -scheme Session -derivedDataPath ./build/derivedData -parallelizeTargets -destination "platform=iOS Simulator,name=iPhone 14" | ./Pods/xcbeautify/xcbeautify --is-ci',
|
|
|
|
|
'xcodebuild build-for-testing -workspace Session.xcworkspace -scheme Session -derivedDataPath ./build/derivedData -parallelizeTargets -destination "platform=iOS Simulator,name=iPhone 14" | xcbeautify --is-ci',
|
|
|
|
|
],
|
|
|
|
|
depends_on: [
|
|
|
|
|
'Install CocoaPods'
|
|
|
|
@ -182,7 +182,7 @@ local run_tests(testName, testBuildStepName) = {
|
|
|
|
|
name: 'Build',
|
|
|
|
|
commands: [
|
|
|
|
|
'mkdir build',
|
|
|
|
|
'xcodebuild archive -workspace Session.xcworkspace -scheme Session -derivedDataPath ./build/derivedData -parallelizeTargets -configuration "App Store Release" -sdk iphonesimulator -archivePath ./build/Session_sim.xcarchive -destination "generic/platform=iOS Simulator" | ./Pods/xcbeautify/xcbeautify --is-ci'
|
|
|
|
|
'xcodebuild archive -workspace Session.xcworkspace -scheme Session -derivedDataPath ./build/derivedData -parallelizeTargets -configuration "App Store Release" -sdk iphonesimulator -archivePath ./build/Session_sim.xcarchive -destination "generic/platform=iOS Simulator" | xcbeautify --is-ci'
|
|
|
|
|
],
|
|
|
|
|
depends_on: [
|
|
|
|
|
'Install CocoaPods'
|
|
|
|
|