File tree Expand file tree Collapse file tree 3 files changed +24
-24
lines changed Expand file tree Collapse file tree 3 files changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -165,27 +165,6 @@ commands:
165
165
# must be part of a workflow definition in order to run for PRs and push builds.
166
166
# -----------------------------------------------------------------------------------------
167
167
jobs :
168
- # -----------------------------------
169
- # Job to test that everything builds with Bazel
170
- # -----------------------------------
171
- bazel_build :
172
- << : *job_defaults
173
- resource_class : xlarge
174
- environment :
175
- GCP_DECRYPT_TOKEN : *gcp_decrypt_token
176
- steps :
177
- - checkout_and_rebase
178
- - *restore_cache
179
- - *setup_bazel_ci_config
180
- - *setup_bazel_remote_execution
181
- - *yarn_install
182
- - *setup_bazel_binary
183
-
184
- # Exclude release and docs packages here as those will be built within
185
- # the "build_release_packages" and "publish_snapshots" jobs.
186
- - run : bazel build --build_tag_filters=-docs-package,-release-package -- src/...
187
- - *slack_notify_on_failure
188
-
189
168
# -------------------------------------------------------------------------------------------
190
169
# Job that builds all release packages. The built packages can be then used in the same
191
170
# workflow to publish snapshot builds.
@@ -305,8 +284,6 @@ workflows:
305
284
306
285
default_workflow :
307
286
jobs :
308
- - bazel_build :
309
- filters : *ignore_presubmit_branch_filter
310
287
- build_release_packages :
311
288
filters : *ignore_presubmit_branch_filter
312
289
- upload_release_packages :
Original file line number Diff line number Diff line change 54
54
55
55
# list of PR statuses that need to be successful
56
56
requiredStatuses :
57
- - ' ci/circleci: bazel_build'
58
57
- ' ci/circleci: build_release_packages'
59
58
60
59
# the comment that will be added when the merge label is added despite failing checks, leave empty or set to false to disable
Original file line number Diff line number Diff line change @@ -211,3 +211,27 @@ jobs:
211
211
slack-message : ' Browser test job failed for ${{ github.base_ref }} branch failed on build ${{ github.event.after }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
212
212
env :
213
213
SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
214
+
215
+ build :
216
+ runs-on : ubuntu-latest-4core
217
+ steps :
218
+ - name : Initialize environment
219
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
220
+ with :
221
+ cache-node-modules : true
222
+ - name : Setup Bazel
223
+ uses : angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
224
+ - name : Setup Bazel RBE
225
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
226
+ - name : Install node modules
227
+ run : yarn install --frozen-lockfile
228
+ - name : Run tests
229
+ run : bazel build --build_tag_filters=-docs-package,-release-package -- src/...
230
+ - name : Notify about failed test
231
+ if : ${{ failure() && github.event_name == 'push'}}
232
+ uses : slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v=v1.24.0
233
+ with :
234
+ channel-id : ' C015EBF2XB6'
235
+ slack-message : ' Build job failed for ${{ github.base_ref }} branch failed on build ${{ github.event.after }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
236
+ env :
237
+ SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
You can’t perform that action at this time.
0 commit comments