forked from codypiersall/pynng
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 1023 Bytes
/
cibuildwheel.yml
File metadata and controls
36 lines (31 loc) · 1023 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
name: build-wheels
on: [push, pull_request]
jobs:
build_wheels:
env:
CIBW_SKIP: "cp27-* cp35-* pp27-* pp36-win32 pp36-macosx_x86_64"
CIBW_BEFORE_BUILD_LINUX: pip install cmake
CIBW_TEST_REQUIRES: pytest pytest-trio pytest-asyncio trio curio pytest-curio
CIBW_TEST_COMMAND: pytest -v {project}/test
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
# don't fail so we can see the results of other OSes.
fail-fast: false
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.7'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==1.5.5
- name: Build wheels
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl