Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
one
spconv
Commits
e9b32261
Commit
e9b32261
authored
Oct 21, 2021
by
Yan Yan
Browse files
debug CI
parent
542adebd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
.github/workflows/build.yaml
.github/workflows/build.yaml
+3
-3
pyproject.toml
pyproject.toml
+1
-1
No files found.
.github/workflows/build.yaml
View file @
e9b32261
...
@@ -24,7 +24,7 @@ jobs:
...
@@ -24,7 +24,7 @@ jobs:
CUDA_VERSION
:
${{ matrix.cuda-version }}
CUDA_VERSION
:
${{ matrix.cuda-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
cuda
:
${{ matrix.cuda-version }}
cuda
:
${{ matrix.cuda-version }}
if
:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) && (env.CUDA_VERSION != '') ) || (
env.CUDA_VERSION == '11.1' &&
env.PYTHON_VERSION == '3.10')
if
:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) && (env.CUDA_VERSION != '') ) || (env.PYTHON_VERSION == '3.10')
shell
:
powershell
shell
:
powershell
run
:
.\tools\install_windows_cuda.ps1
run
:
.\tools\install_windows_cuda.ps1
-
name
:
Set up Python ${{ matrix.python-version }}
-
name
:
Set up Python ${{ matrix.python-version }}
...
@@ -42,7 +42,7 @@ jobs:
...
@@ -42,7 +42,7 @@ jobs:
env
:
env
:
CUDA_VERSION
:
${{ matrix.cuda-version }}
CUDA_VERSION
:
${{ matrix.cuda-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
if
:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (
env.CUDA_VERSION == '11.1' &&
env.PYTHON_VERSION == '3.10')
if
:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (env.PYTHON_VERSION == '3.10')
run
:
|
run
:
|
$Env:CUMM_CUDA_VERSION = "${{ matrix.cuda-version }}"
$Env:CUMM_CUDA_VERSION = "${{ matrix.cuda-version }}"
$Env:CUMM_CUDA_ARCH_LIST = "all"
$Env:CUMM_CUDA_ARCH_LIST = "all"
...
@@ -89,7 +89,7 @@ jobs:
...
@@ -89,7 +89,7 @@ jobs:
PYTHON_VERSION
:
${{ matrix.python-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
DOCKER_IMAGE
:
scrin/manylinux2014-cuda:cu${{ matrix.cuda-version }}-devel-1.0.0
DOCKER_IMAGE
:
scrin/manylinux2014-cuda:cu${{ matrix.cuda-version }}-devel-1.0.0
PLAT
:
manylinux2014_x86_64
PLAT
:
manylinux2014_x86_64
if
:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) && (env.CUDA_VERSION != '') ) || (
env.CUDA_VERSION == '114' &&
env.PYTHON_VERSION == '3.10')
if
:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) && (env.CUDA_VERSION != '') ) || (env.PYTHON_VERSION == '3.10')
run
:
|
run
:
|
chmod +x tools/build-wheels.sh
chmod +x tools/build-wheels.sh
docker run --rm -e PLAT=$PLAT -e CUMM_CUDA_VERSION=${{ matrix.cuda-version }} -e SPCONV_PYTHON_LIST=${{env.PYTHON_VERSION}} -v `pwd`:/io $DOCKER_IMAGE bash -c "source /etc/bashrc && /io/tools/build-wheels.sh"
docker run --rm -e PLAT=$PLAT -e CUMM_CUDA_VERSION=${{ matrix.cuda-version }} -e SPCONV_PYTHON_LIST=${{env.PYTHON_VERSION}} -v `pwd`:/io $DOCKER_IMAGE bash -c "source /etc/bashrc && /io/tools/build-wheels.sh"
...
...
pyproject.toml
View file @
e9b32261
[build-system]
[build-system]
requires
=
[
"setuptools>=41.0"
,
"wheel"
,
"pccm>=0.2.1
4
"
,
"cumm>=0.1.8"
]
requires
=
[
"setuptools>=41.0"
,
"wheel"
,
"pccm>=0.2.1
5
"
,
"cumm>=0.1.8"
]
build-backend
=
"setuptools.build_meta"
build-backend
=
"setuptools.build_meta"
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