File tree 1 file changed +24
-22
lines changed
1 file changed +24
-22
lines changed Original file line number Diff line number Diff line change 1
- name : Test Python Versions
1
+ name : Build
2
2
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- test :
7
- runs-on : Ubuntu-latest
8
-
9
-
6
+ build_wheels :
7
+ name : Build wheels on ${{ matrix.os }}
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ matrix :
11
+ os : [windows-latest]
12
+
10
13
steps :
11
- - name : Checkout repository
12
- uses : actions/checkout@v4
14
+ - uses : actions/checkout@v4
15
+
16
+ # Used to host cibuildwheel
17
+ - uses : actions/setup-python@v5
13
18
14
- - name : Set up Python ${{ matrix.python-version }}
15
- # uses: actions/setup-python@v5
16
-
17
- uses : priya-kinthali/setup-python@update-e2e-freethread
18
- with :
19
- python-version : 3.12.3
20
- cache : pip
21
- # architecture: 'arm64'
22
-
23
-
19
+ - name : Install cibuildwheel
20
+ run : python -m pip install cibuildwheel==2.22.0
24
21
25
- - name : Install dependencies
26
- run : |
27
- python -m pip install --upgrade pip
28
- pip install -r requirements.txt
22
+ - name : Build wheels
23
+ run : python -m cibuildwheel --output-dir wheelhouse
24
+ # to supply options, put them in 'env', like:
25
+ # env:
26
+ # CIBW_SOME_OPTION: value
27
+ # ...
29
28
30
-
29
+ - uses : actions/upload-artifact@v4
30
+ with :
31
+ name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
32
+ path : ./wheelhouse/*.whl
You can’t perform that action at this time.
0 commit comments