|
54 | 54 | ./scripts/health_metrics/get_updated_files.sh
|
55 | 55 | fi
|
56 | 56 |
|
57 |
| - binary_size_metrics: |
58 |
| - needs: check |
59 |
| - # Prevent the job from being triggered in fork. |
60 |
| - # always() will trigger this job when `needs` are skipped in a `merge` pull_request event. |
61 |
| - if: always() && github.event.pull_request.head.repo.full_name == github.repository && ((github.event.action != 'closed' && github.event.pull_request.base.ref == 'main') || github.event.pull_request.merged) |
62 |
| - runs-on: macos-12 |
63 |
| - strategy: |
64 |
| - matrix: |
65 |
| - target: [iOS] |
66 |
| - steps: |
67 |
| - - uses: actions/checkout@v4 |
68 |
| - - name: Access to Metrics Service |
69 |
| - run: | |
70 |
| - # Install gcloud sdk |
71 |
| - curl https://sdk.cloud.google.com > install.sh |
72 |
| - bash install.sh --disable-prompts |
73 |
| - echo "${HOME}/google-cloud-sdk/bin/" >> $GITHUB_PATH |
74 |
| - export PATH="${HOME}/google-cloud-sdk/bin/:${PATH}" |
75 |
| -
|
76 |
| - # Activate the service account for Metrics Service. |
77 |
| - scripts/decrypt_gha_secret.sh scripts/gha-encrypted/metrics_service_access.json.gpg \ |
78 |
| - metrics-access.json "${{ env.METRICS_SERVICE_SECRET }}" |
79 |
| - gcloud auth activate-service-account --key-file metrics-access.json |
80 |
| - - name: Build and test |
81 |
| - run: | |
82 |
| - FirebaseABTesting=${{ needs.check.outputs.abtesting_run_job }} \ |
83 |
| - FirebaseAnalytics=${{ needs.check.outputs.analytics_run_job }} \ |
84 |
| - FirebaseAppCheck=${{ needs.check.outputs.appcheck_run_job }} \ |
85 |
| - FirebaseAppDistribution=${{ needs.check.outputs.appdistribution_run_job }} \ |
86 |
| - FirebaseAuth=${{ needs.check.outputs.auth_run_job }} \ |
87 |
| - FirebaseCrashlytics=${{ needs.check.outputs.crashlytics_run_job }} \ |
88 |
| - FirebaseDatabase=${{ needs.check.outputs.database_run_job }} \ |
89 |
| - FirebaseDynamicLinks=${{ needs.check.outputs.dynamiclinks_run_job }} \ |
90 |
| - FirebaseFirestore=${{ needs.check.outputs.firestore_run_job }} \ |
91 |
| - FirebaseFunctions=${{ needs.check.outputs.functions_run_job}} \ |
92 |
| - FirebaseInAppMessaging=${{ needs.check.outputs.inappmessaging_run_job }} \ |
93 |
| - FirebaseInstallations=${{ needs.check.outputs.installations_run_job }} \ |
94 |
| - FirebaseMessaging=${{ needs.check.outputs.messaging_run_job}} \ |
95 |
| - FirebasePerformance=${{ needs.check.outputs.performance_run_job }} \ |
96 |
| - FirebaseRemoteConfig=${{ needs.check.outputs.remoteconfig_run_job }} \ |
97 |
| - FirebaseStorage=${{ needs.check.outputs.storage_run_job }} \ |
98 |
| - ./scripts/health_metrics/create_binary_size_report.sh |
99 |
| - env: |
100 |
| - PULL_REQUEST_NUM: ${{ github.event.pull_request.number }} |
101 |
| - BASE_COMMIT: ${{ needs.check.outputs.target_branch_head }} |
102 |
| - POSTSUBMIT: ${{ github.event.pull_request.merged }} |
103 |
| - SOURCE_BRANCH: ${{ github.base_ref }} |
104 |
| - |
105 | 57 | pod-lib-lint-abtesting:
|
106 | 58 | needs: check
|
107 | 59 | # Don't run on private repo unless it is a PR.
|
|
0 commit comments