Skip to content

Commit e6142f9

Browse files
Update python-app.yml
1 parent 47e3cfb commit e6142f9

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

.github/workflows/python-app.yml

+24-22
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
1-
name: Test Python Versions
1+
name: Build
22

33
on: [push, pull_request]
44

55
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+
1013
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
1318

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
2421

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+
# ...
2928

30-
29+
- uses: actions/upload-artifact@v4
30+
with:
31+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
32+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)