Skip to content

Commit fb8496d

Browse files
devversionjosephperrott
authored andcommitted
build: move aot and prerender jobs to circleci (#13690)
1 parent 59b47e1 commit fb8496d

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

.circleci/config.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,37 @@ jobs:
125125

126126
- *save_cache
127127

128+
# --------------------------------------
129+
# Job that builds the demo-app with AOT
130+
# --------------------------------------
131+
demo_app_aot:
132+
<<: *job_defaults
133+
resource_class: xlarge
134+
steps:
135+
- *checkout_code
136+
- *restore_cache
137+
- *yarn_install
138+
139+
- run: yarn gulp ci:aot
140+
141+
- *save_cache
142+
143+
# -------------------------------------------------------------------------
144+
# Job that pre-render's the universal app with `@angular/platform-server`.
145+
# This verifies that Angular Material can be rendered within Node.
146+
# -------------------------------------------------------------------------
147+
prerender_build:
148+
<<: *job_defaults
149+
resource_class: xlarge
150+
steps:
151+
- *checkout_code
152+
- *restore_cache
153+
- *yarn_install
154+
155+
- run: yarn gulp ci:prerender
156+
157+
- *save_cache
158+
128159
# ----------------------------------
129160
# Lint job. Runs the gulp lint task.
130161
# ----------------------------------
@@ -162,6 +193,8 @@ workflows:
162193
integration_tests:
163194
jobs:
164195
- e2e_tests
196+
- prerender_build
197+
- demo_app_aot
165198

166199
# Lint workflow. As we want to lint in one job, this is a workflow with just one job.
167200
lint:

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ branches:
2525

2626
jobs:
2727
include:
28-
- env: "MODE=aot"
2928
- env: "MODE=payload"
30-
- env: "MODE=prerender"
3129
- env: "MODE=saucelabs_required"
3230
- env: "MODE=browserstack_required"
3331
- env: "DEPLOY_MODE=build-artifacts"

tools/gulp/tasks/aot.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ task('aot:deps', sequenceTask(
1919
'cdk-experimental:build-release',
2020
'material-experimental:build-release',
2121
'material-moment-adapter:build-release',
22-
// The examples module needs to be built before building examples package
23-
'build-examples-module',
2422
'material-examples:build-release',
2523
],
2624
// Build the assets after the releases have been built, because the demo-app assets import

0 commit comments

Comments
 (0)