Skip to content

Commit

Permalink
Merge pull request #3658 from neutrinoceros/310_wheels_on_4.0.x
Browse files Browse the repository at this point in the history
BLD: build wheels for 3.10, align workflow file with main branch (yt-4.0.x)
  • Loading branch information
Xarthisius committed Nov 17, 2021
2 parents 410d899 + dd536cc commit 1baa461
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ on:
- stable
tags:
- 'yt-*'
workflow_dispatch:

jobs:
build_wheels:
name: Wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
os: [
macos-latest,
windows-latest,
ubuntu-18.04, # has to be the oldest possible for manylinux
]
fail-fast: false

steps:
Expand All @@ -33,7 +38,7 @@ jobs:

- uses: actions/checkout@v2
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==1.9.0
run: python -m pip install cibuildwheel==2.2.2

- name: Install dependencies and yt
shell: bash
Expand All @@ -46,7 +51,8 @@ jobs:
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*"
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-* cp310-*"
CIBW_SKIP: "*-musllinux_*" # these fail due to side effects from previous builds
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_MACOS: "x86_64"
CIBW_ARCHS_WINDOWS: "auto"
Expand Down

0 comments on commit 1baa461

Please sign in to comment.