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
55799959
Unverified
Commit
55799959
authored
Apr 18, 2023
by
Philip Meier
Committed by
GitHub
Apr 18, 2023
Browse files
disable Windows CPU unittests on CircleCI (#7526)
parent
b78d98bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
89 deletions
+1
-89
.circleci/config.yml
.circleci/config.yml
+0
-50
.circleci/config.yml.in
.circleci/config.yml.in
+0
-38
.circleci/regenerate.py
.circleci/regenerate.py
+1
-1
No files found.
.circleci/config.yml
View file @
55799959
...
@@ -433,44 +433,6 @@ jobs:
...
@@ -433,44 +433,6 @@ jobs:
docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
docker push ${image_name}:latest
docker push ${image_name}:latest
unittest_windows_cpu
:
<<
:
*binary_common
executor
:
name
:
windows-cpu
steps
:
-
checkout
-
designate_upload_channel
-
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-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
-
run
:
name
:
Setup
command
:
.circleci/unittest/windows/scripts/setup_env.sh
-
save_cache
:
key
:
env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
paths
:
-
conda
-
env
-
run
:
name
:
Install torchvision
command
:
.circleci/unittest/windows/scripts/install.sh
-
run
:
name
:
Run tests
command
:
.circleci/unittest/windows/scripts/run_test.sh
-
run
:
name
:
Post process
command
:
.circleci/unittest/windows/scripts/post_process.sh
-
store_test_results
:
path
:
test-results
unittest_windows_gpu
:
unittest_windows_gpu
:
<<
:
*binary_common
<<
:
*binary_common
executor
:
executor
:
...
@@ -821,18 +783,6 @@ workflows:
...
@@ -821,18 +783,6 @@ workflows:
unittest
:
unittest
:
jobs
:
jobs
:
-
unittest_windows_cpu
:
cu_version
:
cpu
name
:
unittest_windows_cpu_py3.8
python_version
:
'
3.8'
-
unittest_windows_cpu
:
cu_version
:
cpu
name
:
unittest_windows_cpu_py3.9
python_version
:
'
3.9'
-
unittest_windows_cpu
:
cu_version
:
cpu
name
:
unittest_windows_cpu_py3.10
python_version
:
'
3.10'
-
unittest_windows_gpu
:
-
unittest_windows_gpu
:
cu_version
:
cu117
cu_version
:
cu117
name
:
unittest_windows_gpu_py3.8
name
:
unittest_windows_gpu_py3.8
...
...
.circleci/config.yml.in
View file @
55799959
...
@@ -433,44 +433,6 @@ jobs:
...
@@ -433,44 +433,6 @@ jobs:
docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
docker push ${image_name}:latest
docker push ${image_name}:latest
unittest_windows_cpu:
<<: *binary_common
executor:
name: windows-cpu
steps:
- checkout
- designate_upload_channel
- 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-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
- run:
name: Setup
command: .circleci/unittest/windows/scripts/setup_env.sh
- save_cache:
{% raw %}
key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
paths:
- conda
- env
- run:
name: Install torchvision
command: .circleci/unittest/windows/scripts/install.sh
- run:
name: Run tests
command: .circleci/unittest/windows/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/windows/scripts/post_process.sh
- store_test_results:
path: test-results
unittest_windows_gpu:
unittest_windows_gpu:
<<: *binary_common
<<: *binary_common
executor:
executor:
...
...
.circleci/regenerate.py
View file @
55799959
...
@@ -219,7 +219,7 @@ def indent(indentation, data_list):
...
@@ -219,7 +219,7 @@ def indent(indentation, data_list):
def
unittest_workflows
(
indentation
=
6
):
def
unittest_workflows
(
indentation
=
6
):
jobs
=
[]
jobs
=
[]
for
os_type
in
[
"windows"
]:
for
os_type
in
[
"windows"
]:
for
device_type
in
[
"cpu"
,
"gpu"
]:
for
device_type
in
[
"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