-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (33 loc) · 887 Bytes
/
python-build.yml
File metadata and controls
39 lines (33 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build
on: [push, pull_request]
jobs:
build-sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -r dev-requirements.txt
- name: Create sdist
run: |
python setup.py sdist
build-wheels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cibuildwheel==3.4.0
- name: Build Python wheels
run: python -m cibuildwheel --output-dir wheelhouse