Commit abd3638c authored by yan.yan's avatar yan.yan
Browse files

fix build.yaml

parent 95ef416e
......@@ -35,11 +35,12 @@ jobs:
PYTHON_VERSION: ${{ matrix.python-version }}
cuda: ${{ matrix.cuda-version }}
if: |
(env.CUDA_VERSION != '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') &&
(env.CUDA_VERSION != '')
(env.PYTHON_VERSION == '3.10')
)
)
shell: powershell
run: .\tools\install_windows_cuda.ps1
......@@ -59,11 +60,12 @@ jobs:
CUDA_VERSION: ${{ matrix.cuda-version }}
PYTHON_VERSION: ${{ matrix.python-version }}
if: |
(env.CUDA_VERSION != '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') &&
(env.CUDA_VERSION != '')
(env.PYTHON_VERSION == '3.10')
)
)
run: |
$Env:CUMM_CUDA_VERSION = "${{ matrix.cuda-version }}"
......@@ -121,11 +123,12 @@ jobs:
DOCKER_IMAGE: scrin/manylinux2014-cuda:cu${{ matrix.cuda-version }}-devel-1.0.0
PLAT: manylinux2014_x86_64
if: |
(env.CUDA_VERSION != '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') &&
(env.CUDA_VERSION != '')
(env.PYTHON_VERSION == '3.10')
)
)
run: |
chmod +x tools/build-wheels.sh
......@@ -138,11 +141,12 @@ jobs:
DOCKER_IMAGE: scrin/manylinux2014-cuda:cu114-devel-1.0.0
PLAT: manylinux2014_x86_64
if: |
(env.CUDA_VERSION == '') && (
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
(
(steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') &&
(env.CUDA_VERSION == '')
(env.PYTHON_VERSION == '3.10')
)
)
run: |
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