Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
77a1104c
Unverified
Commit
77a1104c
authored
Mar 27, 2023
by
Philip Meier
Committed by
GitHub
Mar 27, 2023
Browse files
kill macOS unittest workflows on CircleCI (#7466)
parent
db7dc02c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
99 deletions
+1
-99
.circleci/config.yml
.circleci/config.yml
+0
-55
.circleci/config.yml.in
.circleci/config.yml.in
+0
-43
.circleci/regenerate.py
.circleci/regenerate.py
+1
-1
No files found.
.circleci/config.yml
View file @
77a1104c
...
@@ -743,49 +743,6 @@ jobs:
...
@@ -743,49 +743,6 @@ jobs:
-
store_test_results
:
-
store_test_results
:
path
:
test-results
path
:
test-results
unittest_macos_cpu
:
<<
:
*binary_common
macos
:
xcode
:
"
14.0"
resource_class
:
large
steps
:
-
checkout
-
designate_upload_channel
-
run
:
name
:
Install wget
command
:
HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
# Disable brew auto update which is very slow
-
run
:
name
:
Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache.
command
:
echo "$(date +"%Y-%U")" > .circleci-weekly
-
restore_cache
:
keys
:
-
env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
-
run
:
name
:
Setup
command
:
.circleci/unittest/linux/scripts/setup_env.sh
-
save_cache
:
key
:
env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
paths
:
-
conda
-
env
-
run
:
name
:
Install torchvision
command
:
.circleci/unittest/linux/scripts/install.sh
-
run
:
name
:
Run tests
command
:
.circleci/unittest/linux/scripts/run_test.sh
-
run
:
name
:
Post process
command
:
.circleci/unittest/linux/scripts/post_process.sh
-
store_test_results
:
path
:
test-results
cmake_linux_cpu
:
cmake_linux_cpu
:
<<
:
*binary_common
<<
:
*binary_common
docker
:
docker
:
...
@@ -1125,18 +1082,6 @@ workflows:
...
@@ -1125,18 +1082,6 @@ workflows:
-
nightly
-
nightly
name
:
unittest_windows_gpu_py3.10
name
:
unittest_windows_gpu_py3.10
python_version
:
'
3.10'
python_version
:
'
3.10'
-
unittest_macos_cpu
:
cu_version
:
cpu
name
:
unittest_macos_cpu_py3.8
python_version
:
'
3.8'
-
unittest_macos_cpu
:
cu_version
:
cpu
name
:
unittest_macos_cpu_py3.9
python_version
:
'
3.9'
-
unittest_macos_cpu
:
cu_version
:
cpu
name
:
unittest_macos_cpu_py3.10
python_version
:
'
3.10'
cmake
:
cmake
:
jobs
:
jobs
:
...
...
.circleci/config.yml.in
View file @
77a1104c
...
@@ -743,49 +743,6 @@ jobs:
...
@@ -743,49 +743,6 @@ jobs:
- store_test_results:
- store_test_results:
path: test-results
path: test-results
unittest_macos_cpu:
<<: *binary_common
macos:
xcode: "14.0"
resource_class: large
steps:
- checkout
- designate_upload_channel
- run:
name: Install wget
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
# Disable brew auto update which is very slow
- run:
name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache.
command: echo "$(date +"%Y-%U")" > .circleci-weekly
- restore_cache:
{% raw %}
keys:
- env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
- run:
name: Setup
command: .circleci/unittest/linux/scripts/setup_env.sh
- save_cache:
{% raw %}
key: env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
paths:
- conda
- env
- run:
name: Install torchvision
command: .circleci/unittest/linux/scripts/install.sh
- run:
name: Run tests
command: .circleci/unittest/linux/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/linux/scripts/post_process.sh
- store_test_results:
path: test-results
cmake_linux_cpu:
cmake_linux_cpu:
<<: *binary_common
<<: *binary_common
docker:
docker:
...
...
.circleci/regenerate.py
View file @
77a1104c
...
@@ -218,7 +218,7 @@ def indent(indentation, data_list):
...
@@ -218,7 +218,7 @@ def indent(indentation, data_list):
def
unittest_workflows
(
indentation
=
6
):
def
unittest_workflows
(
indentation
=
6
):
jobs
=
[]
jobs
=
[]
for
os_type
in
[
"windows"
,
"macos"
]:
for
os_type
in
[
"windows"
]:
for
device_type
in
[
"cpu"
,
"gpu"
]:
for
device_type
in
[
"cpu"
,
"gpu"
]:
if
os_type
==
"macos"
and
device_type
==
"gpu"
:
if
os_type
==
"macos"
and
device_type
==
"gpu"
:
continue
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment