-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (41 loc) · 1.04 KB
/
ci-build-wheel.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
47
name: CIBuildWheel
on:
push:
# branches:
# - main
paths:
- pybeepop/**
- .github/workflows/ci-build-wheel.yml
- pyproject.toml
# tags:
# - '*.*.*'
pull_request:
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Checkout BeePop+ code
uses: actions/checkout@v4
with:
repository: quanted/vpoplib
ref: dev
path: beepop
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: auto64
CIBW_BUILD: cp39-*
# ...
with:
# package-dir: .
# output-dir: wheelhouse
config-file: "pyproject_cibw.toml"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl