Skip to content

Commit 077db98

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] disable Windows CPU unittests on CircleCI (#7526)
Reviewed By: vmoens Differential Revision: D45183677 fbshipit-source-id: e0d1573e9b3ccb0bde2b65929b750da3bbb1d4d2
1 parent f426e9a commit 077db98

File tree

3 files changed

+1
-89
lines changed

3 files changed

+1
-89
lines changed

.circleci/config.yml

Lines changed: 0 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -433,44 +433,6 @@ jobs:
433433
docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
434434
docker push ${image_name}:latest
435435

436-
unittest_windows_cpu:
437-
<<: *binary_common
438-
executor:
439-
name: windows-cpu
440-
steps:
441-
- checkout
442-
- designate_upload_channel
443-
- run:
444-
name: Generate cache key
445-
# This will refresh cache on Sundays, nightly build should generate new cache.
446-
command: echo "$(date +"%Y-%U")" > .circleci-weekly
447-
- restore_cache:
448-
{% raw %}
449-
keys:
450-
- env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
451-
{% endraw %}
452-
- run:
453-
name: Setup
454-
command: .circleci/unittest/windows/scripts/setup_env.sh
455-
- save_cache:
456-
{% raw %}
457-
key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
458-
{% endraw %}
459-
paths:
460-
- conda
461-
- env
462-
- run:
463-
name: Install torchvision
464-
command: .circleci/unittest/windows/scripts/install.sh
465-
- run:
466-
name: Run tests
467-
command: .circleci/unittest/windows/scripts/run_test.sh
468-
- run:
469-
name: Post process
470-
command: .circleci/unittest/windows/scripts/post_process.sh
471-
- store_test_results:
472-
path: test-results
473-
474436
unittest_windows_gpu:
475437
<<: *binary_common
476438
executor:

.circleci/regenerate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def indent(indentation, data_list):
219219
def unittest_workflows(indentation=6):
220220
jobs = []
221221
for os_type in ["windows"]:
222-
for device_type in ["cpu", "gpu"]:
222+
for device_type in ["gpu"]:
223223
if os_type == "macos" and device_type == "gpu":
224224
continue
225225

0 commit comments

Comments
 (0)