forked from bernhard-42/ocp-tessellate
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 1.02 KB
/
build_wheels.yml
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
40
41
42
43
44
45
46
name: Build Wheels
on:
workflow_dispatch
# push:
# branches: [ master ]
env:
PYTHONUTF8: 1
jobs:
build:
name: Wheel for python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-13', 'macos-14', 'windows-latest']
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build wheels
run: |
python setup.py sdist bdist_wheel
- name: List built wheels
run: ls dist/
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: ocp-tessellate-orion-${{ matrix.os }}-cp${{ matrix.python-version }}
path: dist/*.whl