diff --git a/.circleci/config.yml b/.circleci/config.yml index d215443b7d394..d677ebe5954b6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -576,77 +576,6 @@ jobs: - run: yarn --cwd packages/zone.js/test/typings install --frozen-lockfile --non-interactive --cache-folder ~/.cache/yarn - run: yarn --cwd packages/zone.js/test/typings test - # TODO(josephperrott): remove job once stablitily of GHA version is verified - # Windows jobs - # Docs: https://circleci.com/docs/2.0/hello-world-windows/ - test_win: - executor: windows-executor - steps: - - checkout - - # Setup the proper NodeJS version. The image comes pre-installed with `nvm-windows`. - # Note: This happens immediately after checkout because environment initialization logic - # might rely on Node and shouldn't use the older image-provided NodeJS version. - - run: - name: Install NodeJS version from `.nvmrc`. - command: | - nvm on - nvm install $(cat .nvmrc) - nvm use $(cat .nvmrc) - - run: - name: Debug information for flakiness of Windows job - command: | - node -v - yarn -v - which node - which yarn - echo "Path: $PATH" - yarn node -v - - - save_month_to_file - - capture_patches_for_cache_key - - init_environment - - restore_cache: - keys: - - *cache_key_win - - *cache_key_win_fallback - - # Install project dependencies, and install Bazelisk globally. This is necessary as - # Windows might error when `bazel` is invoked from the project node modules. The Bazel - # invocation might modify the symlinked project `node_modules` again, causing failures. - - yarn_install - - run: yarn global add @bazel/bazelisk@${BAZELISK_VERSION} - - - run: - name: Build all windows CI targets - command: | - $(yarn global bin)/bazelisk build //packages/compiler-cli/... - no_output_timeout: 15m - - run: - name: Test all windows CI targets - command: | - $(yarn global bin)/bazelisk test --test_tag_filters="-browser:chromium-local" //packages/compiler-cli/... - no_output_timeout: 15m - - - save_cache: - key: *cache_key_win - paths: - - node_modules - - ~/AppData/Local/bazelisk - - # TODO(josephperrott): remove job once stablitily of GHA version is verified - test_angular_devtools: - executor: test-browser-executor - steps: - - custom_attach_workspace - - init_environment - - run: - name: Run unit tests - command: yarn devtools:test - - run: - name: Test production build - command: yarn devtools:build:chrome - workflows: version: 2 default_workflow: @@ -690,12 +619,6 @@ workflows: - test_zonejs: requires: - setup - - test_win: - requires: - - setup - - test_angular_devtools: - requires: - - setup monitoring: jobs: