Bump version and fix test matrix #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build wheels for macos and windows | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, macos-latest] | |
architecture: [x64, x86] | |
python-version: [3.6, 3.7, 3.8] | |
exclude: | |
- os: macos-latest | |
architecture: x86 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
architecture: ${{ matrix.architecture }} | |
python-version: ${{ matrix.python-version }} | |
- name: build wheel | |
run: | | |
pip install -U wheel cython | |
python setup.py bdist_wheel | |
shell: bash | |
- name: upload wheel | |
uses: actions/upload-artifact@v1 | |
with: | |
name: dist_${{ matrix.os }}_${{ matrix.architecture }}_${{ matrix.python-version }} | |
path: dist |