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
abd3638c
Commit
abd3638c
authored
Nov 08, 2021
by
yan.yan
Browse files
fix build.yaml
parent
95ef416e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
20 deletions
+24
-20
.github/workflows/build.yaml
.github/workflows/build.yaml
+24
-20
No files found.
.github/workflows/build.yaml
View file @
abd3638c
...
@@ -35,11 +35,12 @@ jobs:
...
@@ -35,11 +35,12 @@ jobs:
PYTHON_VERSION
:
${{ matrix.python-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
cuda
:
${{ matrix.cuda-version }}
cuda
:
${{ matrix.cuda-version }}
if
:
|
if
:
|
(env.CUDA_VERSION != '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(
(steps.changes.outputs.needbuild == 'true') &&
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10')
&&
(env.PYTHON_VERSION == '3.10')
(env.CUDA_VERSION != ''
)
)
)
)
shell
:
powershell
shell
:
powershell
run
:
.\tools\install_windows_cuda.ps1
run
:
.\tools\install_windows_cuda.ps1
...
@@ -59,11 +60,12 @@ jobs:
...
@@ -59,11 +60,12 @@ jobs:
CUDA_VERSION
:
${{ matrix.cuda-version }}
CUDA_VERSION
:
${{ matrix.cuda-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
PYTHON_VERSION
:
${{ matrix.python-version }}
if
:
|
if
:
|
(env.CUDA_VERSION != '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(
(steps.changes.outputs.needbuild == 'true') &&
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10')
&&
(env.PYTHON_VERSION == '3.10')
(env.CUDA_VERSION != ''
)
)
)
)
run
:
|
run
:
|
$Env:CUMM_CUDA_VERSION = "${{ matrix.cuda-version }}"
$Env:CUMM_CUDA_VERSION = "${{ matrix.cuda-version }}"
...
@@ -121,11 +123,12 @@ jobs:
...
@@ -121,11 +123,12 @@ jobs:
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
:
|
if
:
|
(env.CUDA_VERSION != '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(
(steps.changes.outputs.needbuild == 'true') &&
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10')
&&
(env.PYTHON_VERSION == '3.10')
(env.CUDA_VERSION != ''
)
)
)
)
run
:
|
run
:
|
chmod +x tools/build-wheels.sh
chmod +x tools/build-wheels.sh
...
@@ -138,11 +141,12 @@ jobs:
...
@@ -138,11 +141,12 @@ jobs:
DOCKER_IMAGE
:
scrin/manylinux2014-cuda:cu114-devel-1.0.0
DOCKER_IMAGE
:
scrin/manylinux2014-cuda:cu114-devel-1.0.0
PLAT
:
manylinux2014_x86_64
PLAT
:
manylinux2014_x86_64
if
:
|
if
:
|
(env.CUDA_VERSION == '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(
(steps.changes.outputs.needbuild == 'true') &&
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10')
&&
(env.PYTHON_VERSION == '3.10')
(env.CUDA_VERSION == ''
)
)
)
)
run
:
|
run
:
|
chmod +x tools/build-wheels.sh
chmod +x tools/build-wheels.sh
...
...
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