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 49
49
- name : Upgrade pip
50
50
run : |
51
51
pip install --upgrade setuptools
52
+ pip install wheel
52
53
53
54
- name : Install scipy
54
55
if : ${{ (matrix.python-version == '3.8') || (matrix.python-version == '3.9') }}
@@ -96,30 +97,21 @@ jobs:
96
97
run : |
97
98
bash .github/workflows/metis-${{ runner.os }}.sh
98
99
99
- - name : Install main package for CPU
100
+ - name : Build wheel for CPU
100
101
if : ${{ matrix.cuda-version == 'cpu' }}
101
102
run : |
102
- FORCE_ONLY_CPU=1 WITH_METIS=1 pip install -v -e . --no-build-isolation
103
+ FORCE_ONLY_CPU=1 WITH_METIS=1 python setup.py bdist_wheel --dist-dir=dist
103
104
shell :
104
105
bash
105
106
106
- - name : Install main package for GPU
107
+ - name : Build wheel for GPU
107
108
if : ${{ matrix.cuda-version != 'cpu' }}
108
109
run : |
109
110
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
110
- FORCE_CUDA=1 WITH_METIS=1 pip install -v -e . --no-build-isolation
111
+ FORCE_CUDA=1 WITH_METIS=1 python setup.py bdist_wheel --dist-dir=dist
111
112
shell :
112
113
bash
113
114
114
- - name : Test installation
115
- run : |
116
- python -c "import torch_sparse; print('torch-sparse:', torch_sparse.__version__)"
117
-
118
- - name : Build wheel
119
- run : |
120
- pip install wheel
121
- python setup.py bdist_wheel --dist-dir=dist
122
-
123
115
- name : Configure AWS
124
116
uses : aws-actions/configure-aws-credentials@v1
125
117
with :
You can’t perform that action at this time.
0 commit comments