Fix CI on gmpy2-2.1.6 branch #59
Workflow file for this run
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 legacy | |
on: [push, pull_request] | |
jobs: | |
build_wheels: | |
name: Build wheel on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, macos-12] | |
python-version: ["3.7"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
name: Install Python | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install cibuildwheel | |
run: | | |
python -m pip install cibuildwheel==1.12.0 | |
- name: Build wheel | |
run: | | |
python --version | |
python -m cibuildwheel --output-dir wheelhouse | |
env: | |
CIBW_PRERELEASE_PYTHONS: True | |
CIBW_BEFORE_BUILD: bash scripts/before_ci_build.sh | |
CIBW_SKIP: pp* | |
CIBW_BUILD: cp27* cp35* | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: wheels | |
path: ./wheelhouse |