Skip to content

Commit e65f0e4

Browse files
committed
CI: Test generate and benchmark baseline profile on same ci job
1 parent 36ea8af commit e65f0e4

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.buildkite/pipeline.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ agents:
55
queue: "android"
66

77
steps:
8-
- label: "Generate Baseline Profile"
8+
- label: "Generate & Benchmark Baseline Profile"
99
key: "generate-baseline-profile"
1010
command: |
1111
echo "--- :rubygems: Setting up Gems"
@@ -14,25 +14,12 @@ steps:
1414
echo "--- :closed_lock_with_key: Installing Secrets"
1515
bundle exec fastlane run configure_apply
1616
17-
echo "--- :hammer_and_wrench: Building"
17+
echo "--- :hammer_and_wrench: Generate Baseline Profile"
1818
./gradlew :WooCommerce:generateVanillaReleaseBaselineProfile
19-
plugins: [ $CI_TOOLKIT ]
20-
artifact_paths:
21-
- "**/src/vanillaRelease/generated/baselineProfiles/*"
2219
23-
- label: "Benchmark Baseline Profile"
24-
key: "benchmark-baseline-profile"
25-
depends_on:
26-
- "generate-baseline-profile"
27-
command: |
28-
echo "--- :rubygems: Setting up Gems"
29-
install_gems
30-
31-
echo "--- :closed_lock_with_key: Installing Secrets"
32-
bundle exec fastlane run configure_apply
33-
34-
echo "--- :hammer_and_wrench: Building"
20+
echo "--- :hammer_and_wrench: Benchmark Baseline Profile"
3521
./gradlew :baselineprofile:ftlDeviceTokay35VanillaBenchmarkReleaseAndroidTest
3622
plugins: [ $CI_TOOLKIT ]
3723
artifact_paths:
24+
- "**/src/vanillaRelease/generated/baselineProfiles/*"
3825
- "**/build/outputs/androidTest-results/managedDevice/benchmarkrelease/flavors/vanilla/**/results/**/artifacts/storage/emulated/0/Android/media/**/com.woocommerce.android.baselineprofile-benchmarkData.json"

0 commit comments

Comments
 (0)