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 : Free Disk Space (Ubuntu)
51
52
if : ${{ runner.os == 'Linux' }}
@@ -82,30 +83,21 @@ jobs:
82
83
shell :
83
84
bash
84
85
85
- - name : Install main package for CPU
86
+ - name : Build wheel for CPU
86
87
if : ${{ matrix.cuda-version == 'cpu' }}
87
88
run : |
88
- FORCE_ONLY_CPU=1 pip install -v -e . --no-build-isolation
89
+ FORCE_ONLY_CPU=1 python setup.py bdist_wheel --dist-dir=dist
89
90
shell :
90
91
bash
91
92
92
- - name : Install main package for GPU
93
+ - name : Build wheel for GPU
93
94
if : ${{ matrix.cuda-version != 'cpu' }}
94
95
run : |
95
96
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
96
- FORCE_CUDA=1 pip install -v -e . --no-build-isolation
97
+ FORCE_CUDA=1 python setup.py bdist_wheel --dist-dir=dist
97
98
shell :
98
99
bash
99
100
100
- - name : Test installation
101
- run : |
102
- python -c "import torch_scatter; print('torch-scatter:', torch_scatter.__version__)"
103
-
104
- - name : Build wheel
105
- run : |
106
- pip install wheel
107
- python setup.py bdist_wheel --dist-dir=dist
108
-
109
101
- name : Configure AWS
110
102
uses : aws-actions/configure-aws-credentials@v1
111
103
with :
You can’t perform that action at this time.
0 commit comments