Commit 4c5ebb42 authored by rusty1s's avatar rusty1s
Browse files

[skip ci]

parent a7ad84ec
...@@ -10,10 +10,12 @@ jobs: ...@@ -10,10 +10,12 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-16.04, macos-10.15, windows-latest] # os: [ubuntu-16.04, macos-10.15, windows-latest]
os: [windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9] python-version: [3.6, 3.7, 3.8, 3.9]
torch-version: [1.8.0, 1.9.0] torch-version: [1.8.0, 1.9.0]
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111'] # cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
cuda-version: ['cu111']
exclude: exclude:
- torch-version: 1.9.0 - torch-version: 1.9.0
cuda-version: 'cu101' cuda-version: 'cu101'
......
...@@ -10,6 +10,7 @@ requirements: ...@@ -10,6 +10,7 @@ requirements:
- {{ compiler('c') }} # [win] - {{ compiler('c') }} # [win]
host: host:
- pip
- python {{ environ.get('PYTHON_VERSION') }} - python {{ environ.get('PYTHON_VERSION') }}
- {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }} - {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
- {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }} - {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
...@@ -21,7 +22,7 @@ requirements: ...@@ -21,7 +22,7 @@ requirements:
build: build:
string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }} string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
script: python setup.py install script: pip install .
script_env: script_env:
- FORCE_CUDA - FORCE_CUDA
......
...@@ -102,7 +102,8 @@ setup( ...@@ -102,7 +102,8 @@ setup(
extras_require={'test': tests_require}, extras_require={'test': tests_require},
ext_modules=get_extensions() if not BUILD_DOCS else [], ext_modules=get_extensions() if not BUILD_DOCS else [],
cmdclass={ cmdclass={
'build_ext': BuildExtension.with_options(no_python_abi_suffix=True) 'build_ext':
BuildExtension.with_options(no_python_abi_suffix=True, use_ninja=False)
}, },
packages=find_packages(), packages=find_packages(),
) )
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