File tree Expand file tree Collapse file tree 6 files changed +157
-4
lines changed Expand file tree Collapse file tree 6 files changed +157
-4
lines changed Original file line number Diff line number Diff line change 1
- name : Lint
2
-
1
+ name : Black Format Checker
3
2
on : [push, pull_request]
4
-
5
3
jobs :
6
- lint :
4
+ black-format-check :
7
5
runs-on : ubuntu-latest
8
6
steps :
9
7
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change
1
+ name : Documentation
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build_wheels :
7
+ name : Build documentation on ${{ matrix.os }}
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ matrix :
11
+ os : [ubuntu-latest]
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ # Used to host cibuildwheel
17
+ - uses : actions/setup-python@v4
18
+ with :
19
+ python-version : ' 3.10'
20
+
21
+ - name : Install requirements
22
+ run : python -m pip install -r requirements.txt
23
+
24
+ - name : Install requirements-dev.txt
25
+ run : python -m pip install -r requirements-dev.txt
26
+
27
+ - name : Install
28
+ run : python -m pip install -e .
29
+
30
+ - name : Documentation
31
+ run : python -m sphinx ./_doc ./dist/html
32
+
33
+ - uses : actions/upload-artifact@v3
34
+ with :
35
+ path : ./dist/html/**
Original file line number Diff line number Diff line change
1
+ name : Build Wheel Linux
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - ' releases/**'
8
+
9
+ jobs :
10
+ build_wheels :
11
+ name : Build wheels on ${{ matrix.os }}
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest]
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ # Used to host cibuildwheel
21
+ - uses : actions/setup-python@v4
22
+ with :
23
+ python-version : ' 3.10'
24
+
25
+ - name : Install cibuildwheel
26
+ run : python -m pip install cibuildwheel
27
+
28
+ - name : python version
29
+ run : python -V
30
+
31
+ - name : Build wheels
32
+ run : python -m cibuildwheel --output-dir wheelhouse
33
+ # to supply options, put them in 'env', like:
34
+ # env:
35
+ # # CIBW_BUILD: "cp310* cp311*"
36
+ # CIBW_SKIP: cp36-* cp37-* cp38-* cp39-*
37
+
38
+ - uses : actions/upload-artifact@v3
39
+ with :
40
+ path : ./wheelhouse/*.whl
Original file line number Diff line number Diff line change
1
+ name : Build Wheel MacOS
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - ' releases/**'
8
+
9
+ jobs :
10
+ build_wheels :
11
+ name : Build wheels on ${{ matrix.os }}
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ os : [macOS-latest]
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ # Used to host cibuildwheel
21
+ - uses : actions/setup-python@v4
22
+ with :
23
+ python-version : ' 3.10'
24
+
25
+ - name : Install cibuildwheel
26
+ run : python -m pip install cibuildwheel
27
+
28
+ - name : python version
29
+ run : python -V
30
+
31
+ - name : Build wheels
32
+ run : python -m cibuildwheel --output-dir wheelhouse
33
+ # to supply options, put them in 'env', like:
34
+ # env:
35
+ # CIBW_BUILD: cp311*
36
+
37
+ - uses : actions/upload-artifact@v3
38
+ with :
39
+ path : ./wheelhouse/*.whl
Original file line number Diff line number Diff line change
1
+ name : Build Wheel Windows
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - ' releases/**'
8
+
9
+ jobs :
10
+ build_wheels :
11
+ name : Build wheels on ${{ matrix.os }}
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ os : [windows-latest]
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ # Used to host cibuildwheel
21
+ - uses : actions/setup-python@v4
22
+ with :
23
+ python-version : ' 3.10'
24
+
25
+ - name : Install cibuildwheel
26
+ run : python -m pip install cibuildwheel
27
+
28
+ - name : python version
29
+ run : python -V
30
+
31
+ - name : Build wheels
32
+ run : python -m cibuildwheel
33
+ # to supply options, put them in 'env', like:
34
+ # env:
35
+ # CIBW_BUILD: cp310-win_amd64* cp311-win_amd64*
36
+
37
+ - uses : actions/upload-artifact@v3
38
+ with :
39
+ path : ./wheelhouse/*.whl
Original file line number Diff line number Diff line change
1
+ autopep8
1
2
black
2
3
coverage
3
4
flake8
7
8
lightgbm
8
9
matplotlib
9
10
ml-dtypes
11
+ onnxmltools
10
12
onnxruntime
11
13
pandas
12
14
psutil
You can’t perform that action at this time.
0 commit comments