Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 135 additions & 42 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,7 @@ workflows:
WordPress
WordPress_Analyze
Tuist
Tuist_Archive
Calendar
IceCubesApp
opts:
Expand Down Expand Up @@ -1083,48 +1084,6 @@ workflows:
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
benchmark_tuist_build_baseline:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just reordered to be among all other tuist wfs

envs:
- USE_DD_CACHE: "false"
- USE_SPM: "false"
- USE_COMP_CACHE: "false"
- BENCHMARK_APP_NAME: Tuist
meta:
bitrise.io:
stack: osx-xcode-26.0.x-edge
machine_type_id: g2.mac.large
tools:
tuist: 4.70.0
steps:
- bundle::benchmark-setup:
inputs:
- REPO_URL: [email protected]:tuist/tuist.git
- BRANCH: main
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- USE_COMP_CACHE: $USE_COMP_CACHE
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- script:
title: Generate workspace
inputs:
- content: |-
set -exo pipefail
tuist install
tuist generate
- bundle::benchmark_start_measure:
inputs:
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- xcode-build-for-simulator:
inputs:
- project_path: Tuist.xcworkspace
- scheme: TuistApp
- configuration: Debug
- xcodebuild_options: CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -skipMacroValidation
- bundle::benchmark_finish:
inputs:
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
benchmark_wordpress_build_cc:
envs:
- USE_DD_CACHE: "false"
Expand Down Expand Up @@ -1530,6 +1489,48 @@ workflows:
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
benchmark_tuist_build_baseline:
envs:
- USE_DD_CACHE: "false"
- USE_SPM: "false"
- USE_COMP_CACHE: "false"
- BENCHMARK_APP_NAME: Tuist
meta:
bitrise.io:
stack: osx-xcode-26.0.x-edge
machine_type_id: g2.mac.large
tools:
tuist: 4.70.0
steps:
- bundle::benchmark-setup:
inputs:
- REPO_URL: [email protected]:tuist/tuist.git
- BRANCH: main
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- USE_COMP_CACHE: $USE_COMP_CACHE
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- script:
title: Generate workspace
inputs:
- content: |-
set -exo pipefail
tuist install
tuist generate
- bundle::benchmark_start_measure:
inputs:
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- xcode-build-for-simulator:
inputs:
- project_path: Tuist.xcworkspace
- scheme: TuistApp
- configuration: Debug
- xcodebuild_options: CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -skipMacroValidation
- bundle::benchmark_finish:
inputs:
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
benchmark_tuist_build_cc:
envs:
- USE_DD_CACHE: "false"
Expand Down Expand Up @@ -1698,6 +1699,94 @@ workflows:
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
benchmark_tuist_archive_baseline:
envs:
- USE_DD_CACHE: "false"
- USE_SPM: "false"
- USE_COMP_CACHE: "false"
- BENCHMARK_APP_NAME: Tuist_Archive
meta:
bitrise.io:
stack: osx-xcode-26.0.x-edge
machine_type_id: g2.mac.medium
tools:
tuist: 4.70.0
steps:
- bundle::benchmark-setup:
inputs:
- REPO_URL: [email protected]:tuist/tuist.git
- BRANCH: main
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- USE_COMP_CACHE: $USE_COMP_CACHE
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- script:
title: Generate workspace
inputs:
- content: |-
set -exo pipefail
tuist install
tuist generate
- bundle::benchmark_start_measure:
inputs:
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- script@1:
title: Build project
inputs:
- content: |-
#!/bin/bash
set -ex

xcodebuild -workspace Tuist.xcworkspace -scheme tuist build

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐛 Bug

Scheme mismatch will cause build failure. The new Tuist archive workflows use '-scheme tuist' but all other Tuist workflows in this file use '-scheme TuistApp'. This inconsistency will likely result in build errors since the 'tuist' scheme may not exist or may not be the correct target for the benchmark.

🔄 Suggestion:

Suggested change
xcodebuild -workspace Tuist.xcworkspace -scheme tuist build
xcodebuild -workspace Tuist.xcworkspace -scheme TuistApp build

- bundle::benchmark_finish:
inputs:
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
benchmark_tuist_archive_cc:
envs:
- USE_DD_CACHE: "false"
- USE_SPM: "false"
- USE_COMP_CACHE: "true"
- BENCHMARK_APP_NAME: Tuist_Archive_CC
meta:
bitrise.io:
stack: osx-xcode-26.0.x-edge
machine_type_id: g2.mac.medium
tools:
tuist: 4.70.0
steps:
- bundle::benchmark-setup:
inputs:
- REPO_URL: [email protected]:tuist/tuist.git
- BRANCH: main
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- USE_COMP_CACHE: $USE_COMP_CACHE
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- script:
title: Generate workspace
inputs:
- content: |-
set -exo pipefail
tuist install
tuist generate
- bundle::benchmark_start_measure:
inputs:
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
- script@1:
title: Build project
inputs:
- content: |-
#!/bin/bash
set -ex

xcodebuild -workspace Tuist.xcworkspace -scheme tuist build

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐛 Bug

Scheme mismatch will cause build failure. The new Tuist archive workflows use '-scheme tuist' but all other Tuist workflows in this file use '-scheme TuistApp'. This inconsistency will likely result in build errors since the 'tuist' scheme may not exist or may not be the correct target for the benchmark.

🔄 Suggestion:

Suggested change
xcodebuild -workspace Tuist.xcworkspace -scheme tuist build
xcodebuild -workspace Tuist.xcworkspace -scheme TuistApp build

- bundle::benchmark_finish:
inputs:
- USE_DD_CACHE: $USE_DD_CACHE
- USE_SPM: $USE_SPM
- BENCHMARK_APP_NAME: $BENCHMARK_APP_NAME
benchmark_calendar_build_baseline:
envs:
- USE_DD_CACHE: "false"
Expand Down Expand Up @@ -2382,6 +2471,8 @@ pipelines:
# benchmark_tuist_build_dd_cc: {}
benchmark_tuist_build_spm_cc: { }
# benchmark_tuist_build_dd_spm_cc: {}
benchmark_tuist_archive_baseline: {}
benchmark_tuist_archive_cc: {}
benchmark_calendar_build_baseline: { }
benchmark_calendar_build_cc: { }
# benchmark_calendar_build_cc_dd: {}
Expand Down Expand Up @@ -2409,6 +2500,8 @@ pipelines:
# - benchmark_tuist_build_dd_cc
- benchmark_tuist_build_spm_cc
# - benchmark_tuist_build_dd_spm_cc
- benchmark_tuist_archive_baseline
- benchmark_tuist_archive_cc
- benchmark_calendar_build_baseline
- benchmark_calendar_build_cc
# - benchmark_calendar_build_cc_dd
Expand Down