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
MMCV
Commits
6d9e4a9b
Unverified
Commit
6d9e4a9b
authored
Oct 24, 2022
by
Zaida Zhou
Committed by
GitHub
Oct 24, 2022
Browse files
Build macOS wheel in Github Action (#2311)
* Bump version to * update
parent
6cf9ac05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
0 deletions
+77
-0
.github/workflows/build_macos_wheel.yml
.github/workflows/build_macos_wheel.yml
+77
-0
No files found.
.github/workflows/build_macos_wheel.yml
0 → 100644
View file @
6d9e4a9b
name
:
build macos wheel
on
:
push
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
true
env
:
MMCV_WITH_OPS
:
1
jobs
:
build_macos10_wheel
:
runs-on
:
macos-10.15
if
:
contains(github.event.head_commit.message, 'Bump version to')
strategy
:
matrix
:
torch
:
[
1.5.1
,
1.6.0
,
1.7.0
,
1.8.0
,
1.9.0
,
1.10.0
,
1.11.0
,
1.12.0
]
python-version
:
[
3.6
,
3.7
,
3.8
,
3.9
,
'
3.10'
]
include
:
-
torch
:
1.5.1
torchvision
:
0.6.1
-
torch
:
1.6.0
torchvision
:
0.7.0
-
torch
:
1.7.0
torchvision
:
0.8.1
-
torch
:
1.8.0
torchvision
:
0.9.0
-
torch
:
1.9.0
torchvision
:
0.10.0
-
torch
:
1.10.0
torchvision
:
0.11.0
-
torch
:
1.11.0
torchvision
:
0.12.0
-
torch
:
1.12.0
torchvision
:
0.13.0
exclude
:
-
torch
:
1.5.1
python-version
:
3.9
-
torch
:
1.5.1
python-version
:
'
3.10'
-
torch
:
1.6.0
python-version
:
3.9
-
torch
:
1.6.0
python-version
:
'
3.10'
-
torch
:
1.7.0
python-version
:
3.9
-
torch
:
1.7.0
python-version
:
'
3.10'
-
torch
:
1.8.0
python-version
:
'
3.10'
-
torch
:
1.9.0
python-version
:
'
3.10'
-
torch
:
1.10.0
python-version
:
'
3.10'
-
torch
:
1.11.0
python-version
:
3.6
-
torch
:
1.12.0
python-version
:
3.6
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install psutil
run
:
pip install psutil
-
name
:
Install PyTorch
run
:
pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} --no-cache-dir
-
name
:
Build and install
run
:
|
pip install wheel
python setup.py bdist_wheel
-
uses
:
actions/upload-artifact@v3
with
:
name
:
${{matrix.torch}}
path
:
dist/
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