mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: move aot and prerender jobs to circleci (#13690)
This commit is contained in:
committed by
Joey Perrott
parent
59b47e1a83
commit
fb8496dc45
@@ -125,6 +125,37 @@ jobs:
|
||||
|
||||
- *save_cache
|
||||
|
||||
# --------------------------------------
|
||||
# Job that builds the demo-app with AOT
|
||||
# --------------------------------------
|
||||
demo_app_aot:
|
||||
<<: *job_defaults
|
||||
resource_class: xlarge
|
||||
steps:
|
||||
- *checkout_code
|
||||
- *restore_cache
|
||||
- *yarn_install
|
||||
|
||||
- run: yarn gulp ci:aot
|
||||
|
||||
- *save_cache
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Job that pre-render's the universal app with `@angular/platform-server`.
|
||||
# This verifies that Angular Material can be rendered within Node.
|
||||
# -------------------------------------------------------------------------
|
||||
prerender_build:
|
||||
<<: *job_defaults
|
||||
resource_class: xlarge
|
||||
steps:
|
||||
- *checkout_code
|
||||
- *restore_cache
|
||||
- *yarn_install
|
||||
|
||||
- run: yarn gulp ci:prerender
|
||||
|
||||
- *save_cache
|
||||
|
||||
# ----------------------------------
|
||||
# Lint job. Runs the gulp lint task.
|
||||
# ----------------------------------
|
||||
@@ -162,6 +193,8 @@ workflows:
|
||||
integration_tests:
|
||||
jobs:
|
||||
- e2e_tests
|
||||
- prerender_build
|
||||
- demo_app_aot
|
||||
|
||||
# Lint workflow. As we want to lint in one job, this is a workflow with just one job.
|
||||
lint:
|
||||
|
||||
@@ -25,9 +25,7 @@ branches:
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- env: "MODE=aot"
|
||||
- env: "MODE=payload"
|
||||
- env: "MODE=prerender"
|
||||
- env: "MODE=saucelabs_required"
|
||||
- env: "MODE=browserstack_required"
|
||||
- env: "DEPLOY_MODE=build-artifacts"
|
||||
|
||||
@@ -19,8 +19,6 @@ task('aot:deps', sequenceTask(
|
||||
'cdk-experimental:build-release',
|
||||
'material-experimental:build-release',
|
||||
'material-moment-adapter:build-release',
|
||||
// The examples module needs to be built before building examples package
|
||||
'build-examples-module',
|
||||
'material-examples:build-release',
|
||||
],
|
||||
// Build the assets after the releases have been built, because the demo-app assets import
|
||||
|
||||
Reference in New Issue
Block a user