-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 1010 Bytes
/
build.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
name: Build
on:
push:
branches: [ main, ij/python3.10-compat ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.9]
#if: startsWith(github.event.head_commit.message, 'Release')
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cffi>=1.0 wheel
- name: Build Wheels
env:
CIBW_ARCHS: "auto64"
CIBW_SKIP: "cp36-* cp37-* cp311-win* cp312-*"
run: |
python -m pip install cibuildwheel
python -m cibuildwheel --output-dir wheelhouse
- name: Save Wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: ./wheelhouse/*.whl