File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 46
46
- name : Upgrade pip
47
47
run : |
48
48
pip install --upgrade setuptools
49
+ pip install wheel
49
50
50
51
- name : Install scipy
51
52
if : ${{ (matrix.python-version == '3.8') || (matrix.python-version == '3.9') }}
@@ -79,30 +80,21 @@ jobs:
79
80
shell :
80
81
bash
81
82
82
- - name : Install main package for CPU
83
+ - name : Build wheel for CPU
83
84
if : ${{ matrix.cuda-version == 'cpu' }}
84
85
run : |
85
- FORCE_ONLY_CPU=1 pip install -v -e . --no-build-isolation
86
+ FORCE_ONLY_CPU=1 python setup.py bdist_wheel --dist-dir=dist
86
87
shell :
87
88
bash
88
89
89
- - name : Install main package for GPU
90
+ - name : Build wheel for GPU
90
91
if : ${{ matrix.cuda-version != 'cpu' }}
91
92
run : |
92
93
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
93
- FORCE_CUDA=1 pip install -v -e . --no-build-isolation
94
+ FORCE_CUDA=1 python setup.py bdist_wheel --dist-dir=dist
94
95
shell :
95
96
bash
96
97
97
- - name : Test installation
98
- run : |
99
- python -c "import torch_cluster; print('torch-cluster:', torch_cluster.__version__)"
100
-
101
- - name : Build wheel
102
- run : |
103
- pip install wheel
104
- python setup.py bdist_wheel --dist-dir=dist
105
-
106
98
- name : Configure AWS
107
99
uses : aws-actions/configure-aws-credentials@v1
108
100
with :
You can’t perform that action at this time.
0 commit comments