Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
awvwgk authored Sep 19, 2024
2 parents 68a5cc7 + cbaae10 commit 49d631d
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,17 @@ jobs:
matrix:
os:
- ubuntu-latest
# windows-latest
- windows-latest
- macos-12
python: ['38', '39', '310', '311', '312']
- macos-latest
python: ['38', '39', '310', '311', '312', '313']
exclude:
- os: windows-latest
python: '39'
- os: windows-latest
python: '310'
- os: macos-latest
python: '38'

defaults:
run:
Expand All @@ -83,7 +91,7 @@ jobs:
python-version: '3.x'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.18.1
run: python -m pip install cibuildwheel==2.21.1

- name: Download sdist
uses: actions/download-artifact@v4
Expand All @@ -96,8 +104,11 @@ jobs:
CIBW_ARCHS: auto64
CIBW_BUILD: "*${{ matrix.python }}-*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS_MACOS: x86_64
CIBW_ENVIRONMENT_MACOS: CC=gcc-12 CXX=g++-12 FC=gfortran-12 MACOSX_DEPLOYMENT_TARGET=12.0
CIBW_ARCHS_MACOS: ${{ matrix.os == 'macos-latest' && 'arm64' || 'x86_64' }}
CIBW_ENVIRONMENT_MACOS: >
CC=gcc-14 CXX=g++-14 FC=gfortran-14
MACOSX_DEPLOYMENT_TARGET=${{ matrix.os == 'macos-latest' && '14.0' || '12.0' }}
CIBW_BEFORE_ALL_MACOS: brew install gcc@14
CIBW_BEFORE_BUILD_WINDOWS: choco upgrade mingw && pip install delvewheel
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel show {wheel} && delvewheel repair -w {dest_dir} {wheel} --no-mangle-all"

Expand Down

0 comments on commit 49d631d

Please sign in to comment.