File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Wheel
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ python-version : [3.9, 3.10, 3.11, 3.12]
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Set up Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v2
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+
24
+ - name : Install dependencies
25
+ run : |
26
+ python -m pip install --upgrade pip
27
+ pip install wheel setuptools
28
+ pip install -r requirements.txt
29
+ ./run_automation.sh setup-dev-env
30
+
31
+ - name : Build wheel
32
+ run : |
33
+ ./run_automation.sh build-wheel
34
+
35
+ - name : Upload artifact
36
+ uses : actions/upload-artifact@v2
37
+ with :
38
+ name : wheel-${{ matrix.python-version }}
39
+ path : dist/*.whl
You can’t perform that action at this time.
0 commit comments