Skip to content

Commit ee80a43

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] kill macOS unittest workflows on CircleCI (#7466)
Reviewed By: vmoens Differential Revision: D44552408 fbshipit-source-id: 8438bf2aa453358b1e099f89a50cec72e7de50cc
1 parent 85fa933 commit ee80a43

File tree

3 files changed

+1
-99
lines changed

3 files changed

+1
-99
lines changed

.circleci/config.yml

Lines changed: 0 additions & 55 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 & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -743,49 +743,6 @@ jobs:
743743
- store_test_results:
744744
path: test-results
745745

746-
unittest_macos_cpu:
747-
<<: *binary_common
748-
macos:
749-
xcode: "14.0"
750-
resource_class: large
751-
steps:
752-
- checkout
753-
- designate_upload_channel
754-
- run:
755-
name: Install wget
756-
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
757-
# Disable brew auto update which is very slow
758-
- run:
759-
name: Generate cache key
760-
# This will refresh cache on Sundays, nightly build should generate new cache.
761-
command: echo "$(date +"%Y-%U")" > .circleci-weekly
762-
- restore_cache:
763-
{% raw %}
764-
keys:
765-
- env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
766-
{% endraw %}
767-
- run:
768-
name: Setup
769-
command: .circleci/unittest/linux/scripts/setup_env.sh
770-
- save_cache:
771-
{% raw %}
772-
key: env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
773-
{% endraw %}
774-
paths:
775-
- conda
776-
- env
777-
- run:
778-
name: Install torchvision
779-
command: .circleci/unittest/linux/scripts/install.sh
780-
- run:
781-
name: Run tests
782-
command: .circleci/unittest/linux/scripts/run_test.sh
783-
- run:
784-
name: Post process
785-
command: .circleci/unittest/linux/scripts/post_process.sh
786-
- store_test_results:
787-
path: test-results
788-
789746
cmake_linux_cpu:
790747
<<: *binary_common
791748
docker:

.circleci/regenerate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def indent(indentation, data_list):
218218

219219
def unittest_workflows(indentation=6):
220220
jobs = []
221-
for os_type in ["windows", "macos"]:
221+
for os_type in ["windows"]:
222222
for device_type in ["cpu", "gpu"]:
223223
if os_type == "macos" and device_type == "gpu":
224224
continue

0 commit comments

Comments
 (0)