Skip to content

build: add job that ensures view engine AOT compatibility #19531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,27 @@ jobs:
# the "build_release_packages" and "publish_snapshots" jobs.
- run: bazel build src/... --build_tag_filters=-docs-package,-release-package

# -----------------------------------
# Job which ensures that all non-test Bazel targets build properly
# in View Engine configuration.
# -----------------------------------
view_engine_build:
<<: *job_defaults
resource_class: xlarge
environment:
GCP_DECRYPT_TOKEN: *gcp_decrypt_token
steps:
- *checkout_code
- *restore_cache
- *setup_bazel_ci_config
- *setup_bazel_remote_execution
- *yarn_install
- *setup_bazel_binary

# Exclude release and docs packages here as those will be built within
# the "build_release_packages" and "publish_snapshots" jobs.
- run: bazel build src/... --build_tag_filters=-docs-package,-release-package --config=view-engine

# --------------------------------------------------------------------------------------------
# Job that runs ts-api-guardian against our API goldens in "tools/public_api_guard".
# This job fails whenever an API has been updated but not explicitly approved through goldens.
Expand Down Expand Up @@ -554,6 +575,8 @@ workflows:
jobs:
- bazel_build:
filters: *ignore_presubmit_branch_filter
- view_engine_build:
filters: *ignore_presubmit_branch_filter
- view_engine_test:
filters: *ignore_presubmit_branch_filter
- api_golden_checks:
Expand Down