"vscode:/vscode.git/clone" did not exist on "c2a1b3105e244938c807c7a57a07659240ee2fe7"
Commit abd3638c authored by yan.yan's avatar yan.yan
Browse files

fix build.yaml

parent 95ef416e
...@@ -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: |
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (env.CUDA_VERSION != '') && (
( (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(steps.changes.outputs.needbuild == 'true') && (
(env.PYTHON_VERSION == '3.10') && (steps.changes.outputs.needbuild == 'true') &&
(env.CUDA_VERSION != '') (env.PYTHON_VERSION == '3.10')
)
) )
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: |
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (env.CUDA_VERSION != '') && (
( (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(steps.changes.outputs.needbuild == 'true') && (
(env.PYTHON_VERSION == '3.10') && (steps.changes.outputs.needbuild == 'true') &&
(env.CUDA_VERSION != '') (env.PYTHON_VERSION == '3.10')
)
) )
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: |
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (env.CUDA_VERSION != '') && (
( (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(steps.changes.outputs.needbuild == 'true') && (
(env.PYTHON_VERSION == '3.10') && (steps.changes.outputs.needbuild == 'true') &&
(env.CUDA_VERSION != '') (env.PYTHON_VERSION == '3.10')
)
) )
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: |
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (env.CUDA_VERSION == '') && (
( (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(steps.changes.outputs.needbuild == 'true') && (
(env.PYTHON_VERSION == '3.10') && (steps.changes.outputs.needbuild == 'true') &&
(env.CUDA_VERSION == '') (env.PYTHON_VERSION == '3.10')
)
) )
run: | run: |
chmod +x tools/build-wheels.sh chmod +x tools/build-wheels.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment