Skip to content

Commit 919a42a

Browse files
Separate tasks for benchmark and BP generation on FTL
1 parent bf55bee commit 919a42a

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/firebase_test_lab.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Install Cloud SDK Beta components
7171
run: gcloud components install beta
7272

73-
- name: Run Macro Benchmarks
73+
- name: Run Benchmarks
7474
run: |
7575
gcloud beta firebase test android run \
7676
--type instrumentation \
@@ -80,5 +80,19 @@ jobs:
8080
--directories-to-pull /sdcard/Download \
8181
--results-bucket gs://macrobenchmark-results \
8282
--environment-variables clearPackageData=true,additionalTestOutputDir=/sdcard/Download,no-isolated-storage=true,androidx.benchmark.enabledRules=Macrobenchmark \
83-
--num-uniform-shards 3 \
83+
--num-uniform-shards 6 \
8484
--timeout 30m
85+
86+
- name: Generate Baseline Profiles
87+
run: |
88+
gcloud beta firebase test android run \
89+
--type instrumentation \
90+
--app ${{ github.workspace }}/MacrobenchmarkSample/app/build/outputs/apk/benchmarkRelease/app-benchmarkRelease.apk \
91+
--test ${{ github.workspace }}/MacrobenchmarkSample/macrobenchmark/build/outputs/apk/benchmarkRelease/macrobenchmark-benchmarkRelease.apk \
92+
--device model=lynx,version=33,locale=en,orientation=portrait \
93+
--directories-to-pull /sdcard/Download \
94+
--results-bucket gs://macrobenchmark-results \
95+
--environment-variables clearPackageData=true,additionalTestOutputDir=/sdcard/Download,no-isolated-storage=true,androidx.benchmark.enabledRules=BaselineProfile \
96+
--num-uniform-shards 2 \
97+
--timeout 30m
98+

0 commit comments

Comments
 (0)