File tree Expand file tree Collapse file tree 2 files changed +31
-5
lines changed Expand file tree Collapse file tree 2 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 29
29
- name : check format
30
30
run : |
31
31
pre-commit run -a --show-diff-on-failure
32
+
33
+ build_wheel :
34
+ runs-on : ubuntu-latest
35
+ container : taka23/lightseq:build-linux
36
+
37
+ steps :
38
+ - uses : actions/checkout@v1
39
+ with :
40
+ submodules : ' recursive'
41
+ - name : env check
42
+ run : |
43
+ /opt/python/cp38-cp38/bin/python -V
44
+ - name : build wheel
45
+ run : |
46
+ /opt/python/cp38-cp38/bin/python -m pip install -U build
47
+ /opt/python/cp38-cp38/bin/python -m build
48
+
49
+ build_inference :
50
+ runs-on : ubuntu-latest
51
+ container : taka23/lightseq:build-linux
52
+
53
+ steps :
54
+ - uses : actions/checkout@v1
55
+ with :
56
+ submodules : ' recursive'
57
+ - name : env check
58
+ run : |
59
+ /opt/python/cp38-cp38/bin/python -V
60
+ - name : build ext
61
+ run : |
62
+ /opt/python/cp38-cp38/bin/python setup.py build_ext
Original file line number Diff line number Diff line change @@ -132,11 +132,6 @@ def build_extension(self, ext):
132
132
logger .warning (e )
133
133
logger .warning ("The inference extension could not be compiled" )
134
134
135
- # Retry to install the module without C extensions :
136
- # Remove any previously defined build_ext command class.
137
- if "build_ext" in setup_kwargs ["cmdclass" ]:
138
- del setup_kwargs ["cmdclass" ]["build_ext" ]
139
-
140
135
# If this new 'setup' call don't fail, the module
141
136
# will be successfully installed, without the C extension :
142
137
setup (** setup_kwargs )
You can’t perform that action at this time.
0 commit comments