Skip to content

build: move aot and prerender jobs to circleci #13690

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
Merged
Show file tree
Hide file tree
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
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# ----------------------------------
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions tools/gulp/tasks/aot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down