Skip to content

Commit

Permalink
back to eplicit matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
musicEnfanthen committed Jun 23, 2023
1 parent 7525677 commit d497087
Showing 1 changed file with 126 additions and 157 deletions.
283 changes: 126 additions & 157 deletions .github/workflows/python-ci-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,168 +22,137 @@ jobs:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
architecture: [x64, x86]
platform_id: [macosx_x86_64, macosx_arm64, win_amd64, win32, manylinux_x86_64, manylinux_aarch64]
exclude:
# Exclude non-macos related builds and x86 builds on macOS
- os: macos-latest
architecture: x86
- os: macos-latest
platform_id: [ win_amd64, win32, manylinux_x86_64, manylinux_aarch64 ]
# macOS arm64 is not supported with Python 3.7
- os: macos-latest
python: "3.7"
architecture: x64
platform_id: macosx_arm64

# Exclude non-windows related builds on Windows
- os: windows-latest
platform_id: [ macosx_x86_64, macosx_arm64, manylinux_x86_64, manylinux_aarch64 ]

# Exclude non-ubuntu related builds and x86 builds on Linux
- os: ubuntu-latest
architecture: x86
- os: ubuntu-latest
platform_id: [ macosx_x86_64, macosx_arm64, win_amd64, win32 ]






# Building the wheels for macOS (x86_64, arm64), Windows (x86, amd64), and Linux (x86_64, aarch64)
# Building for Python versions: [""3.7", "3.8", "3.9", "3.10", "3.11"]
# include:
# # Build for macOS x86_64
# - os: macos-latest
# python: "3.7"
# architecture: x64
# platform_id: macosx_x86_64
# - os: macos-latest
# python: "3.8"
# architecture: x64
# platform_id: macosx_x86_64
# - os: macos-latest
# python: "3.9"
# architecture: x64
# platform_id: macosx_x86_64
# - os: macos-latest
# python: "3.10"
# architecture: x64
# platform_id: macosx_x86_64
# - os: macos-latest
# python: "3.11"
# architecture: x64
# platform_id: macosx_x86_64

# # Build for macOS arm64
# # macOS arm64 is not supported with Python 3.7, skipping
# - os: macos-latest
# python: "3.8"
# architecture: x64
# platform_id: macosx_arm64
# - os: macos-latest
# python: "3.9"
# architecture: x64
# platform_id: macosx_arm64
# - os: macos-latest
# python: "3.10"
# architecture: x64
# platform_id: macosx_arm64
# - os: macos-latest
# python: "3.11"
# architecture: x64
# platform_id: macosx_arm64
# # Build for Windows amd64
# - os: windows-latest
# python: "3.7"
# architecture: x64
# platform_id: win_amd64
# - os: windows-latest
# python: "3.8"
# architecture: x64
# platform_id: win_amd64
# - os: windows-latest
# python: "3.9"
# architecture: x64
# platform_id: win_amd64
# - os: windows-latest
# python: "3.10"
# architecture: x64
# platform_id: win_amd64
# - os: windows-latest
# python: "3.11"
# architecture: x64
# platform_id: win_amd64
include:
# Build for macOS x86_64
- os: macos-latest
python: "3.7"
architecture: x64
platform_id: macosx_x86_64
- os: macos-latest
python: "3.8"
architecture: x64
platform_id: macosx_x86_64
- os: macos-latest
python: "3.9"
architecture: x64
platform_id: macosx_x86_64
- os: macos-latest
python: "3.10"
architecture: x64
platform_id: macosx_x86_64
- os: macos-latest
python: "3.11"
architecture: x64
platform_id: macosx_x86_64

# Build for macOS arm64
# macOS arm64 is not supported with Python 3.7, skipping
- os: macos-latest
python: "3.8"
architecture: x64
platform_id: macosx_arm64
- os: macos-latest
python: "3.9"
architecture: x64
platform_id: macosx_arm64
- os: macos-latest
python: "3.10"
architecture: x64
platform_id: macosx_arm64
- os: macos-latest
python: "3.11"
architecture: x64
platform_id: macosx_arm64

# Build for Windows amd64
- os: windows-latest
python: "3.7"
architecture: x64
platform_id: win_amd64
- os: windows-latest
python: "3.8"
architecture: x64
platform_id: win_amd64
- os: windows-latest
python: "3.9"
architecture: x64
platform_id: win_amd64
- os: windows-latest
python: "3.10"
architecture: x64
platform_id: win_amd64
- os: windows-latest
python: "3.11"
architecture: x64
platform_id: win_amd64

# # Build for Windows x86
# - os: windows-latest
# python: "3.7"
# architecture: x86
# platform_id: win32
# - os: windows-latest
# python: "3.8"
# architecture: x86
# platform_id: win32
# - os: windows-latest
# python: "3.9"
# architecture: x86
# platform_id: win32
# - os: windows-latest
# python: "3.10"
# architecture: x86
# platform_id: win32
# - os: windows-latest
# python: "3.11"
# architecture: x86
# platform_id: win32
# Build for Windows x86
- os: windows-latest
python: "3.7"
architecture: x86
platform_id: win32
- os: windows-latest
python: "3.8"
architecture: x86
platform_id: win32
- os: windows-latest
python: "3.9"
architecture: x86
platform_id: win32
- os: windows-latest
python: "3.10"
architecture: x86
platform_id: win32
- os: windows-latest
python: "3.11"
architecture: x86
platform_id: win32

# # Build for Linux x86_64
# - os: ubuntu-latest
# python: "3.7"
# architecture: x64
# platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: "3.8"
# architecture: x64
# platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: "3.9"
# architecture: x64
# platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: "3.10"
# architecture: x64
# platform_id: manylinux_x86_64
# - os: ubuntu-latest
# python: "3.11"
# architecture: x64
# platform_id: manylinux_x86_64
# Build for Linux x86_64
- os: ubuntu-latest
python: "3.7"
architecture: x64
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: "3.8"
architecture: x64
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: "3.9"
architecture: x64
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: "3.10"
architecture: x64
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: "3.11"
architecture: x64
platform_id: manylinux_x86_64

# # Build for Linux aarch64
# - os: ubuntu-latest
# python: "3.7"
# architecture: x64
# platform_id: manylinux_aarch64
# - os: ubuntu-latest
# python: "3.8"
# architecture: x64
# platform_id: manylinux_aarch64
# - os: ubuntu-latest
# python: "3.9"
# architecture: x64
# platform_id: manylinux_aarch64
# - os: ubuntu-latest
# python: "3.10"
# architecture: x64
# platform_id: manylinux_aarch64
# - os: ubuntu-latest
# python: "3.11"
# architecture: x64
# platform_id: manylinux_aarch64
# Build for Linux aarch64
- os: ubuntu-latest
python: "3.7"
architecture: x64
platform_id: manylinux_aarch64
- os: ubuntu-latest
python: "3.8"
architecture: x64
platform_id: manylinux_aarch64
- os: ubuntu-latest
python: "3.9"
architecture: x64
platform_id: manylinux_aarch64
- os: ubuntu-latest
python: "3.10"
architecture: x64
platform_id: manylinux_aarch64
- os: ubuntu-latest
python: "3.11"
architecture: x64
platform_id: manylinux_aarch64

steps:
#===============================================#
Expand Down

0 comments on commit d497087

Please sign in to comment.