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

[skip ci]

parent a7ad84ec
......@@ -10,10 +10,12 @@ jobs:
strategy:
fail-fast: false
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]
torch-version: [1.8.0, 1.9.0]
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
cuda-version: ['cu111']
exclude:
- torch-version: 1.9.0
cuda-version: 'cu101'
......
......@@ -10,6 +10,7 @@ requirements:
- {{ compiler('c') }} # [win]
host:
- pip
- python {{ environ.get('PYTHON_VERSION') }}
- {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
- {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
......@@ -21,7 +22,7 @@ requirements:
build:
string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
script: python setup.py install
script: pip install .
script_env:
- FORCE_CUDA
......
......@@ -102,7 +102,8 @@ setup(
extras_require={'test': tests_require},
ext_modules=get_extensions() if not BUILD_DOCS else [],
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(),
)
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